2012-06-27 3 views
0

신뢰할 수있는 배지 스크립트를 aspdotnetstorefront에 추가하려면 어떻게해야하나요? Google은 아래 코드가 주문 확인 페이지 (ordersconfirmation.aspx)에 위치해야합니다. 올바른 변수를 사용하여 사이트의 코드를 구현하는 페이지의 소스 코드에 어떻게 액세스합니까? 감사! 를 heres Link to google trusted store Google 신뢰할 수있는 저장소 배지를 ASPdotnetstorefront에 추가하려면 어떻게합니까

<!-- START Trusted Stores Order --> 
<div id="gts-order" style="display:none;"> 

    <!-- start order and merchant information --> 
    <span id="gts-o-id">MERCHANT_ORDER_ID</span> 
    <span id="gts-o-domain">MERCHANT_ORDER_DOMAIN</span> 
    <span id="gts-o-email">CUSTOMER_EMAIL</span> 
    <span id="gts-o-country">CUSTOMER_COUNTRY</span> 
    <span id="gts-o-currency">CURRENCY</span> 
    <span id="gts-o-total">ORDER_TOTAL</span> 
    <span id="gts-o-discounts">ORDER_DISCOUNTS</span> 
    <span id="gts-o-shipping-total">ORDER_SHIPPING</span> 
    <span id="gts-o-tax-total">ORDER_TAX</span> 
    <span id="gts-o-est-ship-date">ORDER_EST_SHIP_DATE</span> 
    <span id="gts-o-has-preorder">HAS_BACKORDER_PREORDER</span> 
    <span id="gts-o-has-digital">HAS_DIGITAL_GOODS</span> 
    <!-- end order and merchant information --> 

    <!-- start repeated item specific information --> 
    <!-- item example: this area repeated for each item in the order --> 
    <span class="gts-item"> 
    <span class="gts-i-name">ITEM_NAME</span> 
    <span class="gts-i-price">ITEM_PRICE</span> 
    <span class="gts-i-quantity">ITEM_QUANTITY</span> 
    <span class="gts-i-prodsearch-id">ITEM_PRODUCT_SEARCH_ID</span> 
    <span class="gts-i-prodsearch-store-id">ITEM_PRODUCT_SEARCH_ACCOUNT_ID</span> 
    <span class="gts-i-prodsearch-country">ITEM_PRODUCT_SEARCH_COUNTRY</span> 
    <span class="gts-i-prodsearch-language">ITEM_PRODUCT_SEARCH_LANGUAGE</span> 
    </span> 
    <!-- end item 1 example --> 
    <!-- end repeated item specific information --> 

</div> 
<!-- END Trusted Stores --> 

는 무엇의 더 나은 아이디어를 얻을 수 있습니다.

답변

0

올바른 경우 코드 숨김 파일에 삽입해야합니다. C# 솔루션을 사용하는 경우 찾고있는 파일은 orderconfirmation.aspx.cs입니다 (VB 인 경우 orderconfirmation.aspx.vb). 아직 ASPDNS 솔루션을 설정하지 않았 으면 웹 서버에 업로드하기 전에 코드 변경을 테스트하고 테스트 할 수 있습니다.

참고 : 솔루션을 설정하는 방법에 따라 변경 사항이 다를 수 있으며 (예 : 미리 컴파일 된 사이트) 또는 불가능할 수도 있습니다 (예 : ChannelAdvisor 클라이언트 인 경우).

+0

orderconfirmation.aspx.cs에 액세스 할 수 있습니까? 거기에서 게시글에 표시된 코드를 추가 할 수 있습니까? – Bartman

+0

체크 아웃 할 가치가 있습니다. http://www.aspdotnetstorefront.com/p-759-google-trusted-stores-for-aspdotnetstorefront.aspx –

관련 문제