본문 바로가기
온라인마케팅

카페24,태그 매니저 향상된 전자상거래 스크립트

by 화성도인 2017. 2. 18.

도움을 주신 이재원 프로그래머님 감사합니다.

아래 스크립트는 쇼핑몰 환경에 따라 적용이 안될 수 있습니다.

스크립트가 이해되지 않는다면 아는 프로그래머에게 밥 한끼 사고 부탁하시는 것이 정신 건강에 이롭습니다.


PC 주문완료

<!--@layout(/layout/basic/layout.html)-->

<div class="path">

<span>현재 위치</span>

<ol>

<li class="fa-home"><a href="/">홈</a></li>

<li class="fa-angle-right">주문완료</li>

</ol>

</div>

<div class="titleArea AddStyle_UnderLine">

<h2>Thank You for Order</h2>

</div>


<div module="Order_result" unroll=1>

    <!--@css(/css/module/order/result.css)-->


<!-- 결제 스탭 -->

    <ul class="OrderStep">

<li>장바구니</li>

<li>주문서작성</li>

<li>결제완료</li>

<li class="ActiveStep">주문완료</li>

</ul>

<!-- //결제 스탭 -->

    <!-- 혜택정보 -->

    <div class="bankBenefit {$dc_info_display|display}">

        <h3><strong><span>혜택정보</span></strong></h3>

        <div class="info">

            <div class="member {$display_benefit|display}">

                <p><strong>{$user_name}</strong> 님은, [{$group_name}] 회원이십니다.</p>

                <ul class="{$dc_summary_display|display}">

                    <li class="{$dc_display|display}"><span class="{$dc_min_display|display}">{$dc_min_value}</span> 이상 <span class="{$dc_paymethod_display|display}">{$dc_paymethod}</span> 구매시 <span>{$dc_value}</span>을 추가할인 받으실 수 있습니다. <span class="{$dc_max_display|display}">(최대 {$dc_max_value})</span></li>

                    <li class="{$dc_mileage_display|display}"><span class="{$dc_mileage_min_display|display}">{$dc_mileage_min_value}</span> 이상 <span class="{$dc_mileage_paymethod_display|display}">{$dc_mileage_paymethod}</span> 구매시 <span>{$dc_mileage_value}</span>을 추가적립 받으실 수 있습니다. <span class="{$dc_mileage_max_display|display}">(최대 {$dc_mileage_max_value})</span></li>

                </ul>

            </div>

            <ul class="mileage">

                <li><a href="/myshop/mileage/historyList.html">가용{$mileage_name} : <strong>{$avail_mileage}</strong></a></li>

                <li><a href="/myshop/coupon/coupon.html">쿠폰 : <strong>{$coupon_cnt}개</strong></a></li>

            </ul>

        </div>

    </div>


    <!-- 주문완료 -->

    <div class="orderInfo">

        <p>

            <strong>고객님의 주문이 완료 되었습니다.</strong>

            주문내역 및 배송에 관한 안내는 <a href="/myshop/order/list.html">주문조회</a> 를 통하여 확인 가능합니다.

        </p>

        <ul>

            <li>주문번호 : <strong>{$order_id}</strong></li>

            <li>주문일자 : <span>{$order_date}</span></li>

        </ul>

    </div>


    <!-- //구글 애널리틱스 이커머스 트래킹 STEP1 시작 -->

<script>

var order_id = '{$order_id}';

var revenue = '{$total_order_price_original}';    

    //결제금액의 콤마 제거

    function removeComma(str){

        var removed_str = parseInt(str.replace(/,/g,""));

        return removed_str;

    }

</script>

<!-- 구글 애널리틱스 이커머스 트래킹 STEP1 끝 -->

    

    <!-- 결제정보 -->

    <div class="orderArea">

        <div class="title">

            <h3>Payment <span class="tsmall">(결제 정보)</span></h3>

        </div>


        <div class="boardView">

            <table border="1" summary="">

            <caption>결제정보</caption>

            <tbody>

                <tr>

                    <th scope="row">최종결제금액</th>

                    <td class="price">

                        {$result_order_price_front_head}<strong>{$result_order_price_front}</strong><strong class="tail">{$result_order_price_front_tail}</strong> <span class="tail {$result_order_ref_display|display}">{$result_order_price_back_head}{$result_order_price_back}{$result_order_price_back_tail}</span>

                    </td>

                </tr>

                <tr>

                    <th scope="row">결제수단</th>

                    <td>

                        <strong>{$paymethod_name}</strong>

                        <p>

                            {$paymethod_detail}

                            <span class="{$bank_go_display|display}"><a href="#none" id="{$btn_bank_go_id}" class="UIF_BtnTypeC BSet_Black01">인터넷뱅킹 바로가기</a></span>

                            <span class="{$paymenturl_display|display}"><a href="#none" id="{$btn_payment_link_id}" class="UIF_BtnTypeC BSet_Black01">결제사이트 바로가기</a></span>

                        </p>

                        <p class="cashReciept {$cashreceipt_display|display}">

                            현금영수증 발행 :

                            <strong class="{$cashreceipt_type_complete_display|display}">신청 <span>({$cashreceipt_identy_type}) {$cashreceipt_identification}</span></strong>

                            <strong class="{$cashreceipt_type_notapply_display|display}">신청안함</strong>

                            <strong class="{$cashreceipt_type_fail_display|display}">신청실패<br /><span class="grid">하단의 주문확인하기를 클릭하고 주문상세조회에서 다시 신청하시거나 관리자에게 문의하시기 바랍니다.</span></strong>

                        </p>

                    </td>

                </tr>

                <tr class="{$eguarantee_display|display}">

                    <th scope="row">전자보증보험<br/>서비스정보</th>

                    <td>{$eguarantee_detail}</td>

                </tr>

            </tbody>

            </table>

        </div>

    </div>


    <!-- 주문 상품 정보 -->

    <div class="orderListArea">

        <div class="title">

<h3>Order Products <span class="tsmall">(주문 상품 정보)</span></h3>

        </div>


        <!-- 기본배송 -->

        <table border="1" summary="" class="boardList {$normal_display|display}" nspace="normal">

            <caption>기본배송</caption>

            <thead>

                <tr>

                    <th scope="col" class="thumb">이미지</th>

                    <th scope="col" class="product">상품정보</th>

                    <th scope="col" class="price">판매가</th>

                    <th scope="col" class="quantity">수량</th>

                    <th scope="col" class="mileage">{$mileage_name}</th>

                    <th scope="col" class="delivery">배송구분</th>

                    <th scope="col" class="total">합계</th>

                </tr>

            </thead>

            <tfoot>

                <tr>

                    <td colspan="7"><strong class="type">[기본배송]</strong> 상품구매금액 <strong>{$normal_total_product_price}<span class="{$normal_total_option_price_display|display}"> ({$normal_total_option_price})</span></strong> + 배송비 {$normal_total_delv_price} + 지역별배송비 {$normal_total_special_delv_price} = 합계 : <strong class="total">{$normal_total_price_front_head}<span>{$normal_total_price_front}</span>{$normal_total_price_front_tail}</strong> <span class="{$normal_total_price_ref_display|display}">{$normal_total_price_back_head}{$normal_total_price_back}{$normal_total_price_back_tail}</span></td>

                </tr>

            </tfoot>

            <tbody module="Order_normalresultlist">

                <tr>

                    <td class="thumb"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" alt="" /></a></td>

                    <td class="product">

                        <a href="/product/detail.html{$param}"><strong>{$product_name}</strong></a>

                        <div class="option {$option_display|display}">{$option_str}</div>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="free {$card_installment_display|display}">무이자할부 상품</p>


<!-- 구글 애널리틱스 이커머스 트래킹 STEP2-1 시작 -->

<script>

 var products = [];

 productPrice = "" + removeComma('{$product_price}') + "";

    var product1 = {

        'name': '{$product_name}',

        'price': productPrice,

        'quantity': {$product_quantity}

      }

    products.push(product1);

</script>

<!-- 구글 애널리틱스 이커머스 트래킹 STEP2-1 끝 -->

                        

                    </td>

                    <td class="price"><strong>{$product_price_front_head}{$product_price_front}{$product_price_front_tail}</strong><div class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</div></td>

                    <td class="quantity">{$product_quantity}</td>

                    <td class="mileage">{$product_mileage}</td>

                    <td class="delivery">기본배송<div class="{$oversea_able_display|display}">(해외배송가능)</div></td>

                    <td class="total"><strong>{$product_total_price_front_head}{$product_total_price_front}{$product_total_price_front_tail}</strong><div class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</div></td>

                </tr>

                <tr>

                    <td class="thumb"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" alt="" /></a></td>

                    <td class="product">

                        <a href="/product/detail.html{$param}"><strong>{$product_name}</strong></a>

                        <div class="option {$option_display|display}">{$option_str}</div>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="free {$card_installment_display|display}">무이자할부 상품</p>


<!-- 구글 애널리틱스 이커머스 트래킹 STEP2-2 시작 -->                    

<script>

 productPrice = "" + removeComma('{$product_price}') + "";    

    var product2 = {

        'name': '{$product_name}',

        'price': productPrice,

        'quantity': {$product_quantity}

      }

    products.push(product2);

</script> 

<!-- 구글 애널리틱스 이커머스 트래킹 STEP2-2 끝 -->


                    </td>

                    <td class="price"><strong>{$product_price_front_head}{$product_price_front}{$product_price_front_tail}</strong><div class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</div></td>

                    <td class="quantity">{$product_quantity}</td>

                    <td class="mileage">{$product_mileage}</td>

                    <td class="delivery">기본배송<div class="{$oversea_able_display|display}">(해외배송가능)</div></td>

                    <td class="total"><strong>{$product_total_price_front_head}{$product_total_price_front}{$product_total_price_front_tail}</strong><div class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</div></td>

                </tr>

            </tbody>

        </table>


        <!-- 개별배송 -->

        <table border="1" summary="" class="boardList {$individual_display|display}" nspace="individual">

            <caption>개별배송</caption>

            <thead>

                <tr>

                    <th scope="col" class="thumb">이미지</th>

                    <th scope="col" class="product">상품정보</th>

                    <th scope="col" class="price">판매가</th>

                    <th scope="col" class="quantity">수량</th>

                    <th scope="col" class="mileage">{$mileage_name}</th>

                    <th scope="col" class="delivery">배송구분</th>

                    <th scope="col" class="total">합계</th>

                </tr>

            </thead>

            <tfoot>

                <tr>

                    <td colspan="7"><strong class="type">[개별배송]</strong> 상품구매금액 <strong>{$individual_total_product_price}<span class="{$individual_total_option_price_display|display}"> ({$individual_total_option_price})</span></strong> + 배송비 {$individual_total_delv_price} + 지역별배송비 {$individual_total_special_delv_price} = 합계 : <strong class="total">{$individual_total_price_front_head}<span>{$individual_total_price_front}</span>{$individual_total_price_front_tail}</strong> <span class="{$individual_total_price_ref_display|display}">{$individual_total_price_back_head}{$individual_total_price_back}{$individual_total_price_back_tail}</span></td>

                </tr>

            </tfoot>

            <tbody module="Order_individualresultlist">

                <tr>

                    <td class="thumb"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" alt="" /></a></td>

                    <td class="product">

                        <a href="/product/detail.html{$param}"><strong>{$product_name}</strong></a>

                        <div class="option {$option_display|display}">{$option_str}</div>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="free {$card_installment_display|display}">무이자할부 상품</p>

                    </td>

                    <td class="price"><strong>{$product_price_front_head}{$product_price_front}{$product_price_front_tail}</strong><div class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</div></td>

                    <td class="quantity">{$product_quantity}</td>

                    <td class="mileage">{$product_mileage}</td>

                    <td class="delivery">개별배송<div class="{$oversea_able_display|display}">(해외배송가능)</div></td>

                    <td class="total"><strong>{$product_total_price_front_head}{$product_total_price_front}{$product_total_price_front_tail}</strong><div class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</div></td>

                </tr>

                <tr>

                    <td class="thumb"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" alt="" /></a></td>

                    <td class="product">

                        <a href="/product/detail.html{$param}"><strong>{$product_name}</strong></a>

                        <div class="option {$option_display|display}">{$option_str}</div>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="free {$card_installment_display|display}">무이자할부 상품</p>

                    </td>

                    <td class="price"><strong>{$product_price_front_head}{$product_price_front}{$product_price_front_tail}</strong><div class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</div></td>

                    <td class="quantity">{$product_quantity}</td>

                    <td class="mileage">{$product_mileage}</td>

                    <td class="delivery">개별배송<div class="{$oversea_able_display|display}">(해외배송가능)</div></td>

                    <td class="total"><strong>{$product_total_price_front_head}{$product_total_price_front}{$product_total_price_front_tail}</strong><div class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</div></td>

                </tr>

            </tbody>

        </table>


        <!-- 해외배송 -->

        <table border="1" summary="" class="boardList {$oversea_display|display}" nspace="oversea">

            <caption>해외배송</caption>

            <thead>

                <tr>

                    <th scope="col" class="thumb">이미지</th>

                    <th scope="col" class="product">상품정보</th>

                    <th scope="col" class="price">판매가</th>

                    <th scope="col" class="quantity">수량</th>

                    <th scope="col" class="mileage">{$mileage_name}</th>

                    <th scope="col" class="delivery">배송구분</th>

                    <th scope="col" class="total">합계</th>

                </tr>

            </thead>

            <tfoot>

                <tr>

                    <td colspan="7"><strong class="type">[해외배송]</strong> 상품구매금액 <strong>{$oversea_total_product_price}<span class="{$oversea_total_option_price_display|display}"> ({$oversea_total_option_price})</span></strong> + 배송비 {$oversea_ship_fee} + 보험료 {$oversea_insurance_price} = 합계 : <strong class="total">{$oversea_total_price_front_head}<span>{$oversea_total_price_front}</span>{$oversea_total_price_front_tail}</strong> <span class="{$normal_total_price_ref_display|display}">{$oversea_total_price_back_head}{$oversea_total_price_back}{$oversea_total_price_back_tail}</span></td>

                </tr>

            </tfoot>

            <tbody module="Order_oversearesultlist">

                <tr>

                    <td class="thumb"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" alt="" /></a></td>

                    <td class="product">

                        <a href="/product/detail.html{$param}"><strong>{$product_name}</strong></a>

                        <div class="option {$option_display|display}">{$option_str}</div>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="free {$card_installment_display|display}">무이자할부 상품</p>

                    </td>

                    <td class="price"><strong>{$product_price_front_head}{$product_price_front}{$product_price_front_tail}</strong><div class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</div></td>

                    <td class="quantity">{$product_quantity}</td>

                    <td class="mileage">{$product_mileage}</td>

                    <td class="delivery">해외배송</td>

                    <td class="total"><strong>{$product_total_price_front_head}{$product_total_price_front}{$product_total_price_front_tail}</strong><div class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</div></td>

                </tr>

                <tr>

                    <td class="thumb"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" alt="" /></a></td>

                    <td class="product">

                        <a href="/product/detail.html{$param}"><strong>{$product_name}</strong></a>

                        <div class="option {$option_display|display}">{$option_str}</div>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="free {$card_installment_display|display}">무이자할부 상품</p>

                    </td>

                    <td class="price"><strong>{$product_price_front_head}{$product_price_front}{$product_price_front_tail}</strong><div class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</div></td>

                    <td class="quantity">{$product_quantity}</td>

                    <td class="mileage">{$product_mileage}</td>

                    <td class="delivery">해외배송</td>

                    <td class="total"><strong>{$product_total_price_front_head}{$product_total_price_front}{$product_total_price_front_tail}</strong><div class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</div></td>

                </tr>

            </tbody>

        </table>

    </div>


    <!-- 사은품 -->

    <div class="orderArea {$gift_display|display}">

        <div class="title">

<h3>Free Gift <span class="tsmall">(사은품)</span></h3>

        </div>

        <table border="1" summary="" class="boardList" nspace="gift">

            <caption>사은품</caption>

            <thead>

                <tr>

                    <th scope="col" class="thumb">이미지</th>

                    <th scope="col" class="product">상품정보</th>

                    <th scope="col" class="quantity">수량</th>

                    <th scope="col" class="state">사은품 구분</th>

                </tr>

            </thead>

            <tbody module="Order_giftresultlist">

                <tr>

                    <td class="thumb"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" alt="" /></td>

                    <td class="product">

                        <span class="{$gift_icon_display|display}"><img src="{$gift_icon}" /></span> <strong>{$product_name}</strong>

                        <div class="option {$option_display|display}">{$option_str}</div>

                    </td>

                    <td class="quantity">{$product_quantity}</td>

                    <td class="state">{$gift_type_text}</td>

                </tr>

                <tr>

                    <td class="thumb"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" alt="" /></td>

                    <td class="product">

                        <span class="{$gift_icon_display|display}"><img src="{$gift_icon}" /></span> <strong>{$product_name}</strong>

                        <div class="option {$option_display|display}">{$option_str}</div>

                    </td>

                    <td class="quantity">{$product_quantity}</td>

                    <td class="state">{$gift_type_text}</td>

                </tr>

            </tbody>

        </table>

    </div>


    <!-- 결제금액 -->

    <div class="totalArea">

        <div class="summary">

            <table border="1" summary="">

            <caption>결제금액</caption>

            <thead>

                <tr>

                    <th scope="col"><span>총 주문 금액</span><a href="#none" onclick="{$total_order_layer_on}" class="UIF_BtnTypeC BSet_Black01">내역보기</a></th>

                    <th scope="col" class="{$total_sale_display|display}"><span>총 </span><span class="{$total_addsale_text_display|display}">할인</span><span class="{$plus_mark_display|display}"> + </span><span class="{$total_addpay_text_display|display}">부가결제</span><span> 금액</span></th>

                    <th scope="col">총 결제금액</th>

                </tr>

            </thead>

            <tbody>

                <tr>

                    <td class="{$total_sale_css}"><div class="box">{$total_product_ship_price_front_head}<strong>{$total_product_ship_price_front}</strong><strong class="tail">{$total_product_ship_price_front_tail}</strong><span class="tail {$total_product_ship_price_ref_display|display}">{$total_product_ship_price_back_head}{$total_product_ship_price_back}{$total_product_ship_price_back_tail}</span></div></td>

                    <td class="option {$total_sale_display|display}"><div class="box">{$total_sale_price_front_head}<strong>{$total_sale_price_front}</strong><strong class="tail">{$total_sale_price_front_tail}</strong><span class="tail {$total_sale_price_ref_display|display}">{$total_sale_price_back_head}{$total_sale_price_back}{$total_sale_price_back_tail}</span></div></td>

                    <td class="total"><div class="box">{$payed_order_price_front_head}<strong>{$payed_order_price_front}</strong><strong class="tail">{$payed_order_price_front_tail}</strong><span class="tail {$payed_order_ref_display|display}">{$payed_order_price_back_head}{$payed_order_price_back}{$payed_order_price_back_tail}</span></div></td>

                </tr>

            </tbody>

            </table>

<!-- 총 주문금액 상세내역 레이어 -->

<div id="{$total_order_layer}" class="totalDetail TypeA">

<h3>총 주문금액 상세내역</h3>

<div class="content">

<p>{$price_unit_head}{$total_product_ship_price}{$price_unit_tail}</p>

<ul>

<li><strong>상품금액</strong><span>{$price_unit_head}{$total_product_base_price}{$price_unit_tail}</span></li>

<li class="{$total_vat_display|display}"><strong>부가세</strong><span>{$price_unit_head}{$total_vat_price}{$price_unit_tail}</span></li>

<li><strong>배송비</strong><span>{$price_unit_head}{$total_basic_ship_fee}{$price_unit_tail}</span></li>

<li><strong>지역별 배송비</strong><span>{$price_unit_head}{$total_local_ship_fee}{$price_unit_tail}</span></li>

</ul>

</div>

<div class="close"><a href="#none" onclick="{$total_order_layer_off}"><img src="http://img.echosting.cafe24.com/skin/base_ko_KR/common/btn_close.png" alt="닫기" /></a></div>

</div>

        </div>

        <div class="detail">

            <div class="detailA {$total_addsale_summary_display|display}">

                <table border="1" summary="">

                <caption>할인 내역</caption>

                <tbody>

                    <tr class="total">

                        <th scope="row">총 할인금액</th>

                        <td>{$price_unit_head}<strong>{$total_addsale_price}</strong>{$price_unit_tail}</td>

                    </tr>

                    <tr class="{$coupon_display|display}">

                        <th scope="row">쿠폰할인</th>

                        <td>

                            <span class="grid">{$price_unit_head}{$coupon_discount}{$price_unit_tail}</span>

                            <a href="#none" class="eUsedCouponDetail" class="UIF_BtnTypeC BSet_Default">내역보기</a>

                        </td>

                    </tr>

                    <tr class="{$total_benefit_display|display}">

                        <th scope="row">추가할인금액</th>

                        <td>

                            <span class="grid">{$price_unit_head}{$total_benefit_price}{$price_unit_tail}</span>

                            <a href="#none" onclick="{$total_benefit_layer_on}" class="UIF_BtnTypeC BSet_Default">내역보기</a>

                        </td>

                    </tr>

                </tbody>

                </table>


<!-- 추가할인금액 내역보기 레이어 -->

<div id="{$total_benefit_layer}" class="totalDetail TypeB">

<h3>추가할인금액 내역보기</h3>

<div class="content">

<p>{$price_unit_head}{$total_benefit_price}{$price_unit_tail}</p>

<ul>

<li class="{$total_periodsale_price_display|display}"><strong>기간할인</strong><span>{$price_unit_head}{$total_periodsale_price}{$price_unit_tail}</span></li>

<li class="{$total_membersale_price_display|display}"><strong>회원할인</strong><span>{$price_unit_head}{$total_membersale_price}{$price_unit_tail}</span></li>

<li class="{$total_rebuysale_price_display|display}"><strong>{$rebuysale_head}재구매할인</strong><span>{$price_unit_head}{$total_rebuysale_price}{$price_unit_tail}</span></li>

<li class="{$total_bulksale_price_display|display}"><strong>대량구매할인</strong><span>{$price_unit_head}{$total_bulksale_price}{$price_unit_tail}</span></li>

<li class="{$total_livelinkonsale_price_display|display}"><strong>바로가기(링콘)할인</strong><span>{$price_unit_head}{$total_livelinkonsale_price}{$price_unit_tail}</span></li>

<li class="{$total_pbpsale_price_display|display}"><strong>어바웃pbp할인</strong><span>{$price_unit_head}{$total_pbpsale_price}{$price_unit_tail}</span></li>

<li class="{$total_newproductsale_price|display}"><strong>신규상품할인</strong><span>{$price_unit_head}{$total_newproductsale_price}{$price_unit_tail}</span></li>

<li class="{$total_paymethodsale_price_display|display}"><strong>결제수단할인</strong><span>{$price_unit_head}{$total_paymethodsale_price}{$price_unit_tail}</span></li>

<li class="{$total_membergroupsale_price_display|display}"><strong>회원등급할인</strong><span>{$price_unit_head}{$total_membergroupsale_price}{$price_unit_tail}</span></li>

</ul>

</div>

<div class="close"><a href="#none" onclick="{$total_benefit_layer_off}"><img src="http://img.echosting.cafe24.com/skin/base_ko_KR/common/btn_close.png" alt="닫기" /></a></div>

</div>


            </div>

            <div class="{$total_addpay_summary_display|display}">

                <table border="1" summary="">

                <caption>부가결제 내역</caption>

                <tbody>

                    <tr class="total">

                        <th scope="row">총 부가결제금액</th>

                        <td>{$price_unit_head}<strong>{$total_addpay_price}</strong>{$price_unit_tail}</td>

                    </tr>

                    <tr class="{$mileage_display|display}">

                        <th scope="row">{$mileage_name}</th>

                        <td>{$mileage_unit_head}{$mileage_used_amount}{$mileage_unit_tail}</td>

                    </tr>

                    <tr class="{$naver_mileage_display|display}">

                        <th scope="row">네이버 마일리지/캐쉬</th>

                        <td>{$price_unit_head}{$naver_mileage_used_amount}{$price_unit_tail} {$naver_mileage_used_detail}</td>

                    </tr>

                    <tr class="{$deposit_display|display}">

                        <th scope="row">{$deposit_name}</th>

                        <td>{$price_unit_head}{$deposit_used_amount}{$deposit_unit}</td>

                    </tr>

                </tbody>

                </table>

            </div>

            <div class="{$total_mileage_summary_display|display}">

                <table border="1" summary="">

                <caption>적립예정 내역</caption>

                <tbody>

                    <tr class="total">

                        <th scope="row">총 적립예정금액</th>

                        <td>{$mileage_unit_head}<strong>{$total_mileage_price}</strong>{$mileage_unit_tail}</td>

                    </tr>

                    <tr class="{$total_product_mileage_display|display}">

                        <th scope="row">상품별 {$mileage_name}</th>

                        <td><span class="grid">{$mileage_unit_head}{$total_product_mileage_price}{$mileage_unit_tail}</span></td>

                    </tr>

                    <tr class="{$total_member_mileage_display|display}">

                        <th scope="row">회원 {$mileage_name}</th>

                        <td><span class="grid">{$mileage_unit_head}{$total_member_mileage_price}{$mileage_unit_tail}</span></td>

                    </tr>

                    <tr class="{$total_coupon_mileage_display|display}">

                        <th scope="row">쿠폰 {$mileage_name}</th>

                        <td>

                            <span class="grid">{$mileage_unit_head}{$total_coupon_mileage_price}{$mileage_unit_tail}</span>

                            <a href="#none" class="eUsedCouponDetail" class="UIF_BtnTypeC BSet_Default">내역보기</a>

                        </td>

                    </tr>

                </tbody>

                </table>

            </div>

        </div>


    </div>


    <!-- 배송지정보 -->

    <div class="orderArea">

        <div class="title">

<h3>Shipping Info <span class="tsmall">(배송지 정보)</span></h3>

        </div>


        <div class="boardView">

            <table border="1" summary="">

            <caption>배송지 정보</caption>

            <tbody>

                <tr>

                    <th scope="row">받으시는분</th>

                    <td>{$rname}</td>

                </tr>

                <tr class="{$english_name_display|display}">

                    <th scope="row">영문이름</th>

                    <td>{$english_name}</td>

                </tr>

                <tr class="{$pron_name_display|display}">

                    <th scope="row">이름(발음기호)</th>

                    <td>{$pron_name}</td>

                </tr>

                <tr class="{$country_name_display|display}">

                    <th scope="row">국가</th>

                    <td>{$country_name}</td>

                </tr>

                <tr>

                    <th scope="row">우편번호</th>

                    <td>{$rzipcode}</td>

                </tr>

                <tr>

                    <th scope="row">주소</th>

                    <td>{$raddr}</td>

                </tr>

                <tr class="{$si_gun_do_display|display}">

                    <th scope="row">도시</th>

                    <td>{$si_gun_do}</td>

                </tr>

                <tr class="{$ju_do_display|display}">

                    <th scope="row">주/지방</th>

                    <td>{$ju_do}</td>

                </tr>

                <tr>

                    <th scope="row">일반전화</th>

                    <td>{$rphone_1}</td>

                </tr>

                <tr>

                    <th scope="row">휴대전화</th>

                    <td>{$rphone_2}</td>

                </tr>

                <tr>

                    <th scope="row">배송메시지</th>

                    <td>{$rmessage}</td>

                </tr>

                <tr class="{$hope_date_display|display}">

                    <th scope="row">희망배송일</th>

                    <td><strong>{$hope_date}</strong></td>

                </tr>

                <tr class="{$sc_display|display}">

                    <th scope="row">배송업체</th>

                    <td>{$sc_name}</td>

                </tr>

            </tbody>

            </table>

        </div>

    </div>


    <!-- 추가정보 -->

    <div class="orderArea {$ordadd.display|display}">

        <div class="title">

<h3>Option Info <span class="tsmall">(추가 정보)</span></h3>

        </div>


        <div class="boardView">

            <table border="1" summary="">

            <caption>추가정보</caption>

            <tbody module="Order_ordadd">

                <tr>

                    <th scope="row">{$title}</th>

                    <td>{$content}</td>

                </tr>

                <tr>

                    <th scope="row">{$title}</th>

                    <td>{$content}</td>

                </tr>

            </tbody>

            </table>

        </div>

    </div>


    <div class="btnArea">

        <span class="left">

            <a href="#none" onclick="{$action_print_spec}" class="{$print_spec_display|display} UIF_BtnTypeCart BSet_Default">거래명세서 인쇄" /></a>

            <a href="#none" onclick="{$action_print_pg_card}" class="{$print_pg_card_display|display} UIF_BtnTypeCart BSet_Default">카드매출전표 인쇄" /></a>

        </span>

        <span class="right">

            <a href="/" class="UIF_BtnTypeCart BSet_Black01">쇼핑계속하기</a>

            <a href="/myshop/order/list.html" class="UIF_BtnTypeCart BSet_Orange01">주문확인하기</a>

        </span>

    </div>


    <!-- 이용안내 -->

    <div class="help">

        <h3>이용안내</h3>

        <div class="content">

            <ul>

                <li class="item1">비회원 주문의 경우, 주문번호를 꼭 기억하세요. 주문번호로 주문조회가 가능합니다.</li>

                <li class="item2">배송은 결제완료 후 지역에 따라 {$shipping_period1}일 ~ {$shipping_period2}일 가량이 소요됩니다. </li>

                <li class="item3">상품별 자세한 배송과정은 주문조회를 통하여 조회하실 수 있습니다.</li>

                <li class="item4">주문의 취소 및 환불, 교환에 관한 사항은 이용안내의 내용을 참고하십시오.</li>

            </ul>

        </div>

    </div>


</div>


<!-- 구글 애널리틱스 이커머스 트래킹3/3 dayaLayer로 정보 전송 -->

<script>    

    var pushData = {

    'ecommerce': {

        'purchase': {

            'actionField': {

                'id': order_id,

                'revenue': revenue

            },

            'products': products

        }

     },

     'event' : 'transactionComplete'

    };

    dataLayer.push(pushData);

</script>

<!-- //구글 애널리틱스 이커머스 트래킹3/3 dayaLayer로 정보 전송 -->


모바일 주문완료

<!--@layout(/layout/basic/layout.html)-->

<div id="titleArea">

    <h2>주문완료</h2>

    <span module="Layout_MobileAction">

        <a href="#none" onclick="{$go_back}"><img src="http://img.echosting.cafe24.com/skin/mobile_ko_KR/layout/btn_back.gif" width="33" alt="뒤로가기"></a>

    </span>

</div>


<div module="Order_result" unroll=1>

    <!--@css(/css/module/order/result.css)-->

    <div class="infomation">

        <p><strong>고객님의 주문이 <br >정상적으로 완료되었습니다.</strong></p>

        <p>(주문번호: {$order_id})</p>

    </div>


    <!-- //구글 애널리틱스 이커머스 트래킹 STEP1 시작 -->

<script>

var order_id = '{$order_id}';

var revenue = '{$total_order_price_original}';

    //결제금액의 콤마 제거

    function removeComma(str){

        var removed_str = parseInt(str.replace(/,/g,""));

        return removed_str;

    }

</script>

<!-- 구글 애널리틱스 이커머스 트래킹 STEP1 끝 -->

<!-- 주문 상품 정보 -->바로 위에 step1 script삽입

    <!-- 주문 상품 정보 -->

    <div class="toggleArea eToggle type1">

        <div class="title">

            <h2>주문 상품 확인 <span>(총 {$item_count}개 / {$price_unit_head}<strong>{$result_order_price}</strong>{$price_unit_tail})</span></h2>

        </div>

        <div class="contents">

            <!-- 기본배송 -->

            <div class="{$normal_display|display}" nspace="normal">

                <div module="Order_normalresultlist" class="orderArea">

                    <!-- 참고: 상품 반복 -->

                    <div class="prdInfo">

                        <div class="description">

                            <p class="prdImg"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" width="73" height="73" alt="" /></a></p>

                            <strong class="prdName" title="상품명"><a href="/product/detail.html{$param}">{$product_name}</a></strong>

                            <ul class="info">

                                <li class="{$card_installment_display|display}">무이자할부 상품</li>

                                

<!-- 구글 애널리틱스 이커머스 트래킹 STEP2-1 시작 -->

<script>

 var products = [];

 productPrice = "" + removeComma('{$product_price}') + "";

    var product1 = {

        'name': '{$product_name}',

        'price': productPrice,

        'quantity': {$product_quantity}

      }  

    products.push(product1);

</script>

<!-- 구글 애널리틱스 이커머스 트래킹 STEP2-1 끝 -->

                                

                                <li title="적립금">{$product_mileage2}</li>

                                <li>배송 : 기본배송<span class="{$oversea_able_display|display}">(해외배송가능)</span></li>

                                <li class="price">

                                    <span title="판매가">

                                        <span class="{$discount}">

                                            {$product_price_front_head}<strong>{$product_price_front}</strong>{$product_price_front_tail}

                                            <span class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</span>

                                        </span>

                                        <span class="{$product_sale_price_display|display}">

                                            {$product_sale_price_front_head}<strong>{$product_sale_price_front}</strong>{$product_sale_price_front_tail}

                                            <span class="{$product_sale_price_ref_display|display}">{$product_sale_price_back_head}{$product_sale_price_back}{$product_sale_price_back_tail}</span>

                                        </span>

                                    </span>

                                    <strong title="수량" class="quantity">{$product_quantity}</strong>개

                                </li>

                            </ul>

                        </div>

                        <p class="option {$product_option_str_display|display}">{$option_str}</p>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="prdTotal">

                            합계 : {$product_total_price_front_head}<strong>{$product_total_price_front}</strong>{$product_total_price_front_tail}

                            <span class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</span>

                        </p>

                    </div><!-- //참고 -->

                    <!-- 참고: 상품 반복 -->

                    <div class="prdInfo">

                        <div class="description">

                            <p class="prdImg"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" width="73" height="73" alt="" /></a></p>

                            <strong class="prdName" title="상품명"><a href="/product/detail.html{$param}">{$product_name}</a></strong>

                            <ul class="info">

                                <li class="{$card_installment_display|display}">무이자할부 상품</li>

                                

<!-- 구글 애널리틱스 이커머스 트래킹 STEP2-2 시작 -->                    

<script>

 productPrice = "" + removeComma('{$product_price}') + "";

    var product2 = {

        'name': '{$product_name}',

        'price': productPrice,

        'quantity': {$product_quantity}

      }                 

    products.push(product2);

</script> 

<!-- 구글 애널리틱스 이커머스 트래킹 STEP2-2 끝 -->                     

                                

                                <li title="적립금">{$product_mileage2}</li>

                                <li>배송 : 기본배송<span class="{$oversea_able_display|display}">(해외배송가능)</span></li>

                                <li class="price">

                                    <span title="판매가">

                                        <span class="{$discount}">

                                            {$product_price_front_head}<strong>{$product_price_front}</strong>{$product_price_front_tail}

                                            <span class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</span>

                                        </span>

                                        <span class="{$product_sale_price_display|display}">

                                            {$product_sale_price_front_head}<strong>{$product_sale_price_front}</strong>{$product_sale_price_front_tail}

                                            <span class="{$product_sale_price_ref_display|display}">{$product_sale_price_back_head}{$product_sale_price_back}{$product_sale_price_back_tail}</span>

                                        </span>

                                    </span>

                                    <strong title="수량" class="quantity">{$product_quantity}</strong>개

                                </li>

                            </ul>

                        </div>

                        <p class="option {$product_option_str_display|display}">{$option_str}</p>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="prdTotal">

                            합계 : {$product_total_price_front_head}<strong>{$product_total_price_front}</strong>{$product_total_price_front_tail}

                            <span class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</span>

                        </p>

                    </div><!-- //참고 -->

                </div>

                <div class="totalPrice toggleArea type3 eToggle">

                    <h3 class="txtTitle title">[기본배송]</h3>

                    <div class="contents">

                        상품구매금액 <strong>{$normal_total_product_price} <span class="{$normal_total_option_price_display|display}"> ({$normal_total_option_price})</span></strong>

                        + 배송비 <strong>{$normal_total_delv_price}</strong>

                        + 지역별배송비 <strong>{$normal_total_special_delv_price}</strong><span class="{$normal_total_product_benefit_price_display|display}"> - 상품할인금액 <strong>{$normal_total_product_benefit_price}</strong> </span> =<br>

                        합계 : {$normal_total_price_front_head}<strong class="total">{$normal_total_price_front}</strong>{$normal_total_price_front_tail}

                        <span class="{$normal_total_price_ref_display|display}"> {$normal_total_price_back_head}{$normal_total_price_back}{$normal_total_price_back_tail}</span>

                    </div>

                </div>

            </div>


            <!-- 개별배송 -->

            <div class="{$individual_display|display}" nspace="individual">

                <div module="Order_individualresultlist" class="orderArea">

                    <!-- 참고: 상품 반복 -->

                    <div class="prdInfo">

                        <div class="description">

                            <p class="prdImg"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" width="73" height="73" alt="" /></a></p>

                            <strong class="prdName" title="상품명"><a href="/product/detail.html{$param}">{$product_name}</a></strong>

                            <ul class="info">

                                <li class="{$card_installment_display|display}">무이자할부 상품</li>

                                <li title="적립금">{$product_mileage2}</li>

                                <li>배송 : 개별배송<span class="{$oversea_able_display|display}">(해외배송가능)</span></li>

                                <li class="price">

                                    <span title="판매가">

                                        <span class="{$discount}">

                                            {$product_price_front_head}<strong>{$product_price_front}</strong>{$product_price_front_tail}

                                            <span class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</span>

                                        </span>

                                        <span class="{$product_sale_price_display|display}">

                                            {$product_sale_price_front_head}<strong>{$product_sale_price_front}</strong>{$product_sale_price_front_tail}

                                            <span class="{$product_sale_price_ref_display|display}">{$product_sale_price_back_head}{$product_sale_price_back}{$product_sale_price_back_tail}</span>

                                        </span>

                                    </span>

                                    <strong title="수량" class="quantity">{$product_quantity}</strong>개

                                </li>

                            </ul>

                        </div>

                        <p class="option {$product_option_str_display|display}">{$option_str}</p>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="prdTotal">

                            합계 : {$product_total_price_front_head}<strong>{$product_total_price_front}</strong>{$product_total_price_front_tail}

                            <span class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</span>

                        </p>

                    </div><!-- //참고 -->

                    <!-- 참고: 상품 반복 -->

                    <div class="prdInfo">

                        <div class="description">

                            <p class="prdImg"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" width="73" height="73" alt="" /></a></p>

                            <strong class="prdName" title="상품명"><a href="/product/detail.html{$param}">{$product_name}</a></strong>

                            <ul class="info">

                                <li class="{$card_installment_display|display}">무이자할부 상품</li>

                                <li title="적립금">{$product_mileage2}</li>

                                <li>배송 : 개별배송<span class="{$oversea_able_display|display}">(해외배송가능)</span></li>

                                <li class="price">

                                    <span title="판매가">

                                        <span class="{$discount}">

                                            {$product_price_front_head}<strong>{$product_price_front}</strong>{$product_price_front_tail}

                                            <span class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</span>

                                        </span>

                                        <span class="{$product_sale_price_display|display}">

                                            {$product_sale_price_front_head}<strong>{$product_sale_price_front}</strong>{$product_sale_price_front_tail}

                                            <span class="{$product_sale_price_ref_display|display}">{$product_sale_price_back_head}{$product_sale_price_back}{$product_sale_price_back_tail}</span>

                                        </span>

                                    </span>

                                    <strong title="수량" class="quantity">{$product_quantity}</strong>개

                                </li>

                            </ul>

                        </div>

                        <p class="option {$product_option_str_display|display}">{$option_str}</p>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="prdTotal">

                            합계 : {$product_total_price_front_head}<strong>{$product_total_price_front}</strong>{$product_total_price_front_tail}

                            <span class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</span>

                        </p>

                    </div><!-- //참고 -->

                </div>

                <div class="totalPrice toggleArea type3 eToggle">

                    <h3 class="txtTitle title">[개별배송]</h3>

                    <div class="contents">

                        상품구매금액 <strong>{$individual_total_product_price} <span class="{$individual_total_option_price_display|display}">({$individual_total_option_price})</span></strong>

                        + 배송비 <strong>{$individual_total_delv_price}</strong>

                        + 지역별배송비 <strong>{$individual_total_special_delv_price}</strong><span class="{$individual_total_product_benefit_price_display|display}"> - 상품할인금액 <strong>{$individual_total_product_benefit_price}</strong></span> =<br>

                        합계 : <strong class="total">{$individual_total_price_front_head}{$individual_total_price_front}</strong>{$individual_total_price_front_tail}

                        <span class="{$individual_total_price_ref_display|display}"> {$individual_total_price_back_head}{$individual_total_price_back}{$individual_total_price_back_tail}</span>

                    </div>

                </div>

            </div>


            <!-- 해외배송 -->

            <div class="{$oversea_display|display}" nspace="oversea">

                <div module="Order_oversearesultlist" class="orderArea">

                    <!-- 참고: 상품 반복 -->

                    <div class="prdInfo">

                        <div class="description">

                            <p class="prdImg"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" width="73" height="73" alt="" /></a></p>

                            <strong class="prdName" title="상품명"><a href="/product/detail.html{$param}">{$product_name}</a></strong>

                            <ul class="info">

                                <li class="{$card_installment_display|display}">무이자할부 상품</li>

                                <li title="적립금">{$product_mileage2}</li>

                                <li>배송 : 해외배송</li>

                                <li class="price">

                                    <span title="판매가">

                                        <span class="{$discount}">

                                            {$product_price_front_head}<strong>{$product_price_front}</strong>{$product_price_front_tail}

                                            <span class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</span>

                                        </span>

                                        <span class="{$product_sale_price_display|display}">

                                            {$product_sale_price_front_head}<strong>{$product_sale_price_front}</strong>{$product_sale_price_front_tail}

                                            <span class="{$product_sale_price_ref_display|display}">{$product_sale_price_back_head}{$product_sale_price_back}{$product_sale_price_back_tail}</span>

                                        </span>

                                    </span>

                                    <strong title="수량" class="quantity">{$product_quantity}</strong>개

                                </li>

                            </ul>

                        </div>

                        <p class="option {$product_option_str_display|display}">{$option_str}</p>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="prdTotal">

                            합계 : {$product_total_price_front_head}<strong>{$product_total_price_front}</strong>{$product_total_price_front_tail}

                            <span class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</span>

                        </p>

                    </div><!-- //참고 -->

                    <!-- 참고: 상품 반복 -->

                    <div class="prdInfo">

                        <div class="description">

                            <p class="prdImg"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" width="73" height="73" alt="" /></a></p>

                            <strong class="prdName" title="상품명"><a href="/product/detail.html{$param}">{$product_name}</a></strong>

                            <ul class="info">

                                <li class="{$card_installment_display|display}">무이자할부 상품</li>

                                <li title="적립금">{$product_mileage2}</li>

                                <li>배송 : 해외배송</li>

                                <li class="price">

                                    <span title="판매가">

                                        <span class="{$discount}">

                                            {$product_price_front_head}<strong>{$product_price_front}</strong>{$product_price_front_tail}

                                            <span class="{$product_price_ref_display|display}">{$product_price_back_head}{$product_price_back}{$product_price_back_tail}</span>

                                        </span>

                                        <span class="{$product_sale_price_display|display}">

                                            {$product_sale_price_front_head}<strong>{$product_sale_price_front}</strong>{$product_sale_price_front_tail}

                                            <span class="{$product_sale_price_ref_display|display}">{$product_sale_price_back_head}{$product_sale_price_back}{$product_sale_price_back_tail}</span>

                                        </span>

                                    </span>

                                    <strong title="수량" class="quantity">{$product_quantity}</strong>개

                                </li>

                            </ul>

                        </div>

                        <p class="option {$product_option_str_display|display}">{$option_str}</p>

                        <ul class="option" module="Order_optionSet">

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                            <li><strong>{$product_name}</strong>{$option_str} ({$qty}개)</li>

                        </ul>

                        <p class="prdTotal">

                            합계 : {$product_total_price_front_head}<strong>{$product_total_price_front}</strong>{$product_total_price_front_tail}

                            <span class="{$product_total_price_ref_display|display}">{$product_total_price_back_head}{$product_total_price_back}{$product_total_price_back_tail}</span>

                        </p>

                    </div><!-- //참고 -->

                </div>

                <div class="totalPrice toggleArea type3 eToggle">

                    <h3 class="txtTitle title">[해외배송]</h3>

                    <div class="contents">

                        상품구매금액 <strong>{$oversea_total_product_price} <span class="{$oversea_total_option_price_display|display}">({$oversea_total_option_price})</span></strong>

                        + 배송비 <strong>{$oversea_ship_fee}</strong>

                        + 보험료 <strong>{$oversea_insurance_price}</strong><span class="{$oversea_total_product_benefit_price_display|display}"> - 상품할인금액 <strong>{$oversea_total_product_benefit_price}</strong></span> =<br>

                        합계 : {$oversea_total_price_front_head}<strong class="total">{$oversea_total_price_front}</strong>{$oversea_total_price_front_tail}

                        <span class="{$oversea_total_price_ref_display|display}"> {$oversea_total_price_back_head}{$oversea_total_price_back}{$oversea_total_price_back_tail}</span>

                    </div>

                </div>

            </div>


            <!-- 사은품 정보 -->

            <div class="{$gift_display|display}" nspace="gift">

                <div module="Order_giftresultlist" class="orderArea">

                    <!-- 참고: 상품 반복 -->

                    <div class="prdInfo">

                        <div class="description">

                            <p class="prdImg"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" width="73" height="73" alt="" /></a></p>

                            <strong class="prdName" title="상품명">[사은품]<a href="/product/detail.html{$param}">{$product_name}</a></strong>

                            <ul class="info">

                                <li title="적립금">-</li>

                                <li>배송 : 개별배송</li>

                                <li class="price">

                                    <span title="판매가">{$product_unit_head}<strong>{$product_price}</strong>{$product_unit_tail} <span class="{$product_price_ref_display|display}">{$product_price_ref}</span></span>

                                    <strong title="수량" class="quantity">{$product_quantity}</strong>개

                                </li>

                            </ul>

                        </div>

                        <p class="option {$option_display|display}">{$option_str}</p>

                        <p class="prdTotal">

                            합계 : {$price_unit_head}<strong>{$product_total_price}</strong>{$price_unit_tail}

                        </p>

                    </div><!-- //참고 -->

                    <!-- 참고: 상품 반복 -->

                    <div class="prdInfo">

                        <div class="description">

                            <p class="prdImg"><a href="/product/detail.html{$param}"><img src="{$product_image}" onerror="this.src='http://img.echosting.cafe24.com/thumb/img_product_small.gif';" width="73" height="73" alt="" /></a></p>

                            <strong class="prdName" title="상품명"><a href="/product/detail.html{$param}">{$product_name}</a></strong>

                            <ul class="info">

                                <li title="적립금">-</li>

                                <li>배송 : 개별배송</li>

                                <li class="price">

                                    <span title="판매가">{$product_unit_head}<strong>{$product_price}</strong>{$product_unit_tail} <span class="{$product_price_ref_display|display}">{$product_price_ref}</span></span>

                                    <strong title="수량" class="quantity">{$product_quantity}</strong>개

                                </li>

                            </ul>

                        </div>

                        <p class="option {$option_display|display}">{$option_str}</p>

                        <p class="prdTotal">

                            합계 : {$price_unit_head}<strong>{$product_total_price}</strong>{$price_unit_tail}

                        </p>

                    </div><!-- //참고 -->

                </div>

                <div class="totalPrice toggleArea type3 eToggle">

                    <h3 class="txtTitle title">[사은품]</h3>

                    <div class="contents">

                        상품구매금액 <strong>0</strong>

                        + 배송비 <strong>0</strong>

                        + 지역별배송비 <strong>0</strong> =<br>

                        합계 : {$price_unit_head}<strong class="total">0</strong>{$price_unit_tail}

                    </div>

                </div>

            </div>

        </div>

    </div>

    <!-- //주문 상품 정보 -->


    <div class="toggleArea type1 eToggle selected totalList">

        <div class="title">

            <h2>결제정보</h2>

        </div>

        <div class="contents">

            <div class="boardList">

                <table border="1" summary="">

                <caption>결제정보</caption>

                    <colgroup>

                            <col style="width:105px" />

                            <col style="width:auto" />

                    </colgroup>

                <tbody>

                    <tr class="paymethod">

                        <th scope="row">결제수단</th>

                        <td>

                            <strong>{$paymethod_name}</strong>

                            <p>{$paymethod_detail}</p>

                        </td>

                    </tr>

                    <tr class="{$eguarantee_display|display}">

                        <th scope="row">전자보증보험<br>서비스정보</th>

                        <td>{$eguarantee_detail}</td>

                    </tr>

                    <tr class="totalPay">

                        <th scope="row"><strong>최종결제금액</strong></th>

                        <td class="price">

                            {$result_order_price_front_head}{$result_order_price_front}{$result_order_price_front_tail} <span class="tail {$result_order_ref_display|display}">{$result_order_price_back_head}{$result_order_price_back}{$result_order_price_back_tail}</span>

                        </td>

                    </tr>

                </tbody>

                </table>

            </div>


            <!-- 총 주문금액 -->

            <div class="toggleArea type2 eToggle">

                <div class="title">

                    <h3>총 주문금액</h3>

                    <p><span>{$total_product_ship_price_front_head}{$total_product_ship_price_front}{$total_product_ship_price_front_tail}</span>

                        <span class="{$total_product_ship_price_ref_display|display}"> {$total_product_ship_price_back_head}{$total_product_ship_price_back}{$total_product_ship_price_back_tail}</span>

                    </p>

                </div>

                <div class="contents">

                    <ul>

                        <li><strong>상품금액</strong><span>{$price_unit_head}{$total_product_base_price}{$price_unit_tail}</span></li>

                        <li class="{$total_vat_display|display}"><strong>부가세</strong><span>{$price_unit_head}{$total_vat_price}{$price_unit_tail}</span></li>

                        <li><strong>배송비</strong><span>{$price_unit_head}{$total_basic_ship_fee}{$price_unit_tail}</span></li>

                        <li><strong>지역별 배송비</strong><span>{$price_unit_head}{$total_local_ship_fee}{$price_unit_tail}</span></li>

                    </ul>

                </div>

            </div>


            <!-- 총 할인금액 -->

            <div class="toggleArea type2 eToggle {$total_addsale_summary_display|display}">

                <div class="title">

                    <h3>총 할인금액</h3>

                    <p>{$price_unit_head}{$total_addsale_price}{$price_unit_tail}</p>

                </div>

                <div class="contents">

                    <ul>

                        <li class="{$coupon_display|display}"><strong>쿠폰할인</strong><span>{$price_unit_head}{$coupon_discount}{$price_unit_tail}</span></li>

                        <li class="{$total_mobilesale_price_display|display}"><strong>모바일할인</strong><span>{$price_unit_head}{$total_mobilesale_price}{$price_unit_tail}</span></li>

                        <li class="{$total_periodsale_price_display|display}"><strong>기간할인</strong><span>{$price_unit_head}{$total_periodsale_price}{$price_unit_tail}</span></li>

                        <li class="{$total_membersale_price_display|display}"><strong>회원할인</strong><span>{$price_unit_head}{$total_membersale_price}{$price_unit_tail}</span></li>

                        <li class="{$total_rebuysale_price_display|display}"><strong>{$rebuysale_head}재구매할인</strong><span>{$price_unit_head}{$total_rebuysale_price}{$price_unit_tail}</span></li>

                        <li class="{$total_bulksale_price_display|display}"><strong>대량구매할인</strong><span>{$price_unit_head}{$total_bulksale_price}{$price_unit_tail}</span></li>

                        <li class="{$total_livelinkonsale_price_display|display}"><strong>바로가기(링콘)할인</strong><span>{$price_unit_head}{$total_livelinkonsale_price}{$price_unit_tail}</span></li>

                        <li class="{$total_pbpsale_price_display|display}"><strong>어바웃pbp할인</strong><span>{$price_unit_head}{$total_pbpsale_price}{$price_unit_tail}</span></li>

                        <li class="{$total_newproductsale_price|display}"><strong>신규상품할인</strong><span>{$price_unit_head}{$total_newproductsale_price}{$price_unit_tail}</span></li>

                        <li class="{$total_paymethodsale_price_display|display}"><strong>결제수단할인</strong><span>{$price_unit_head}{$total_paymethodsale_price}{$price_unit_tail}</span></li>

                        <li class="{$total_membergroupsale_price_display|display}"><strong>회원등급할인</strong><span>{$price_unit_head}{$total_membergroupsale_price}{$price_unit_tail}</span></li>

                    </ul>

                </div>

            </div>


            <!-- 총 부가결제금액 -->

            <div class="toggleArea type2 eToggle {$total_addpay_summary_display|display}">

                <div class="title">

                    <h3>총 부가결제금액</h3>

                    <p>{$price_unit_head}{$total_addpay_price}{$price_unit_tail}</p>

                </div>

                <div class="contents">

                    <div class="boardView">

                        <table border="1" summary="">

                        <caption>부가결제 내역</caption>

                        <tbody>

                            <tr class="{$mileage_display|display}">

                                <th scope="row">{$mileage_name}</th>

                                <td><span class="grid">{$price_unit_head}{$mileage_used_amount}{$mileage_unit}</span></td>

                            </tr>

                            <tr class="{$naver_mileage_display|display}">

                                <th scope="row">네이버 마일리지/캐쉬</th>

                                <td><span class="grid">{$price_unit_head}{$naver_mileage_used_amount}{$price_unit_tail}</span>{$naver_mileage_used_detail}</td>

                            </tr>

                            <tr class="{$deposit_display|display}">

                                <th scope="row">{$deposit_name}</th>

                                <td><span class="grid">{$price_unit_head}{$deposit_used_amount}{$deposit_unit}</span></td>

                            </tr>

                        </tbody>

                        </table>

                    </div>

                </div>

            </div>


            <!-- 총 적립예정금액 -->

            <div class="toggleArea type2 eToggle {$total_mileage_summary_display|display}">

                <div class="title">

                    <h3>총 적립예정금액</h3>

                    <p>{$mileage_unit_head}{$total_mileage_price}{$mileage_unit_tail}</p>

                </div>

                <div class="contents">

                    <div class="boardView">

                        <table border="1" summary="">

                        <caption>적립예정 내역</caption>

                            <tbody>

                                <tr class="{$total_product_mileage_display|display}">

                                    <th scope="row">상품별 {$mileage_name}</th>

                                    <td><span class="grid">{$price_unit_head}{$total_product_mileage_price}{$mileage_unit}</span></td>

                                </tr>

                                <tr class="{$total_member_mileage_display|display}">

                                    <th scope="row">회원 {$mileage_name}</th>

                                    <td><span class="grid">{$price_unit_head}{$total_member_mileage_price}{$mileage_unit}</span></td>

                                </tr>

                                <tr class="{$total_coupon_mileage_display|display}">

                                    <th scope="row">쿠폰 {$mileage_name}</th>

                                    <td><span class="grid">{$price_unit_head}{$total_coupon_mileage_price}{$mileage_unit}</span></td>

                                </tr>

                            </tbody>

                        </table>

                    </div>

                </div>

            </div>

        </div>

    </div>


    <!-- 배송지 정보 -->

    <div class="toggleArea type1 eToggle selected orderArea">

        <div class="title">

            <h2>배송지 정보</h2>

        </div>

        <div class="contents">

            <div class="boardList">

                <table border="1" summary="">

                <caption>배송지 정보</caption>

                    <tbody>

                        <tr class="{$receive_info_display|display}">

                            <th scope="row">수령지</th>

                            <td>{$store_name} <br />{$store_receive_addr}<br />

                                <button type="button" onclick="{$action_open_store}" class="btnNormal">수령지 안내</button>

                            </td>

                        </tr>

                        <tr>

                            <th scope="row">받으시는분</th>

                            <td>{$rname}</td>

                        </tr>

                        <tr class="{$english_name_display|display}">

                            <th scope="row">영문이름</th>

                            <td>{$english_name}</td>

                        </tr>

                        <tr class="{$pron_name_display|display}">

                            <th scope="row">이름(발음기호)</th>

                            <td>{$pron_name}</td>

                        </tr>

                        <tr class="{$country_name_display|display}">

                            <th scope="row">국가</th>

                            <td>{$country_name}</td>

                        </tr>

                        <tr>

                            <th scope="row">주소</th>

                            <td>({$rzipcode})<br>{$raddr}</td>

                        </tr>

                        <tr class="{$si_gun_do_display|display}">

                            <th scope="row">도시</th>

                            <td>{$si_gun_do}</td>

                        </tr>

                        <tr class="{$ju_do_display|display}">

                            <th scope="row">주/지방</th>

                            <td>{$ju_do}</td>

                        </tr>

                        <tr>

                            <th scope="row">일반전화</th>

                            <td>{$rphone_1}</td>

                        </tr>

                        <tr>

                            <th scope="row">휴대전화</th>

                            <td>{$rphone_2}</td>

                        </tr>

                        <tr>

                            <th scope="row">배송메시지</th>

                            <td>{$rmessage}</td>

                        </tr>

                        <tr class="{$hope_date_display|display}">

                            <th scope="row">희망배송일</th>

                            <td>{$hope_date}</td>

                        </tr>

                        <tr class="{$hope_time_display|display}">

                            <th scope="row">희망배송시간</th>

                            <td>{$hope_time}</td>

                        </tr>

                        <tr class="{$sc_display|display}">

                            <th scope="row">희망배송업체/방식</th>

                            <td>{$sc_name}</td>

                        </tr>

                        <tr class="{$store_receive_period_display|display}">

                            <th scope="row">수령가능일</th>

                            <td>{$store_receive_period}</td>

                        </tr>

                    </tbody>

                </table>

            </div>

        </div>

    </div>


    <!-- 추가 정보 -->

    <div class="toggleArea type1 eToggle selected orderArea {$ordadd.display|display}">

        <div class="title">

            <h2>추가 정보</h2>

        </div>

        <div class="contents">

            <div class="boardList">

                <table border="1" summary="">

                <caption>추가 정보</caption>

                    <tbody module="Order_ordadd">

                        <tr>

                            <th scope="row">{$title}</th>

                            <td>{$content}</td>

                        </tr>

                        <tr>

                            <th scope="row">{$title}</th>

                            <td>{$content}</td>

                        </tr>

                    </tbody>

                </table>

            </div>

        </div>

    </div>


    <div class="btnArea typeFull">

        <span class="gLeft"><a href="#none" onclick="{$action_issue_cash}" class="btnNormal {$issue_cash_display|display}">현금영수증 신청</a></span>

        <span class="gRight"><a href="#none" onclick="{$action_issue_tax}" class="btnNormal {$issue_tax_display|display}">세금계산서 신청</a></span>

    </div>


    <div class="btnArea type2">

        <a href="/" class="btnEm">쇼핑계속하기</a>

        <a href="/myshop/order/list.html" class="btnSubmit">주문확인하기</a>

    </div>

</div>


<!-- 구글 애널리틱스 이커머스 트래킹3/3 dayaLayer로 정보 전송 -->

<script>    

    var pushData = {

    'ecommerce': {

        'purchase': {

            'actionField': {

                'id': order_id,

                'revenue': revenue

            },

            'products': products

        }

     },

     'event' : 'transactionComplete'

    };

    dataLayer.push(pushData);

</script>

<!-- //구글 애널리틱스 이커머스 트래킹3/3 dayaLayer로 정보 전송 -->

댓글