Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Google trusted stores confirmation page
So, we can get the badge to validate on the website. Next is to get google to validate the code on the "order confirmation page" it says
https://support.google.com/trustedstoresmerchant/answer/6063087?p=ordercode&rd=1
Here's how my code looks
<!-- START Google Trusted Stores Order --> <div id="gts-order" style="display:none;" translate="no"> <!-- start order and merchant information --> <span id="gts-o-id"><%=getCurrentAttribute('SalesOrder','tranid','')%></span> <span id="gts-o-domain">my website</span> <span id="gts-o-email"><%=getCurrentAttribute('customer','tobeemailed','')%></span> <span id="gts-o-country"><%=getCurrentAttribute('customer','Country','')%></span> <span id="gts-o-currency">USD</span> <span id="gts-o-total"><%=getCurrentAttribute('SalesOrder','total','')%></span> <span id="gts-o-discounts"><%=getCurrentAttribute('SalesOrder','discounttotal','')%></span> <span id="gts-o-shipping-total"><%=getCurrentAttribute('SalesOrder','altshippingcost','')%></span> <span id="gts-o-tax-total"><%=getCurrentAttribute('SalesOrder','taxtotal','')%></span> <span id="gts-o-has-preorder">N</span> <span id="gts-o-has-digital">N</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"><%=getCurrentAttribute('SalesOrder','displayname','')%></span> <span class="gts-i-price"><%=getCurrentAttribute('SalesOrder','Ratesalespricehtml','')%></span> <span class="gts-i-quantity"><%=getCurrentAttribute('SalesOrder','quantitycommitted','')%></span> <span class="gts-i-prodsearch-store-id">my store id</span> <span class="gts-i-prodsearch-country">US</span> <span class="gts-i-prodsearch-language">en</span> </span> <!-- end item 1 example --> <!-- end repeated item specific information --> </div> <!--
Tagged:
0