0
如何將可信徽章腳本添加到aspdotnetstorefront?谷歌要求下面的代碼是訂單確認頁面中的地方,最有可能是ordersconfirmation.aspx。如何訪問頁面的源代碼使用正確的變量實現站點的代碼?謝謝!如何將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 -->
繼承人Link to google trusted store更好地瞭解它是什麼。
我確實可以訪問orderconfirmation.aspx.cs,是否可以從那裏添加顯示在帖子中的代碼? – Bartman
這可能值得您檢查:http://www.aspdotnetstorefront.com/p-759-google-trusted-stores-for-aspdotnetstorefront.aspx –