has anyone implemented the trusted stores badge and order information into the backend? Just starting to try to develop code for the order info area and not sure what the best way to go about it would be.
Thanks
Thanks
<mvt:item name="toolkit" param="order|ocount|l.all_settings:order:id" />
&mvte:toolkit:ordertotal;
<span id="gts-o-shipping-total"><mvt:item name="toolkit" param="order|ocount|l.all_settings:order:id" /> &mvte:toolkit:ordershipping;</span> <span id="gts-o-tax-total">&mvte:toolkit:ordertax;</span> <span id="gts-o-est-ship-date"><mvt:item name="toolkit" param="set_time_zone|our_time|92" /> <mvt:item name="toolkit" param="time_t_year|nyear|our_time" /> <mvt:item name="toolkit" param="time_t_month|nmonth|our_time" /> <mvt:item name="toolkit" param="time_t_dayofmonth|ndayofmonth|our_time" /> <mvt:item name="toolkit" param="sassign|usdate|%month%/%day%/%year%" /> <mvt:item name="toolkit" param="vglosub|usdate,%day%,ndayofmonth" /> <mvt:item name="toolkit" param="vglosub|usdate,%month%,nmonth" /> <mvt:item name="toolkit" param="vglosub|usdate,%year%,nyear" /> &mvt:global:usdate;</span>
<!-- START Trusted Stores Order --> <div id="gts-order" style="display:none;"> <!-- start order and merchant information --> <span id="gts-o-id">&mvt:order:id;</span> <span id="gts-o-domain">###</span> <span id="gts-o-email">&mvte:global:Basket:ship_email;</span> <span id="gts-o-country">&mvte:order:ship_cntry;</span> <span id="gts-o-currency">USD</span> <span id="gts-o-total">&mvte:order:total;</span> <!--get discount total stored in global variable difference3--> <span id="gts-o-discounts"><mvt:item name="toolkit" param="order|ocount|l.all_settings:order:id" /> <mvt:item name="toolkit" param="math_subtract|difference|l.all_settings:toolkit:ordertotal|l.all_settings:toolkit:ordershipping" /> <mvt:item name="toolkit" param="math_subtract|difference2|g.difference|l.all_settings:toolkit:ordersubtotal" /> <mvt:item name="toolkit" param="math_subtract|difference3|g.difference2|l.all_settings:toolkit:ordertax" />&mvt:global:difference3;</span> <span id="gts-o-shipping-total">&mvte:toolkit:ordershipping;</span> <span id="gts-o-tax-total">&mvte:toolkit:ordertax;</span> <span id="gts-o-est-ship-date"><mvt:if expr="NOT ISNULL l.settings:product:customfield_values:customfields:baskmessage">&mvt:product:customfield_values:customfields:baskmessage; <mvt:else> <mvt:item name="toolkit" param="set_time_zone|our_time|92" /> <mvt:item name="toolkit" param="time_t_year|nyear|our_time" /> <mvt:item name="toolkit" param="time_t_month|nmonth|our_time" /> <mvt:item name="toolkit" param="time_t_dayofmonth|ndayofmonth|our_time" /> <mvt:item name="toolkit" param="sassign|usdate|%month%/%day%/%year%" /> <mvt:item name="toolkit" param="vglosub|usdate,%day%,ndayofmonth" /> <mvt:item name="toolkit" param="vglosub|usdate,%month%,nmonth" /> <mvt:item name="toolkit" param="vglosub|usdate,%year%,nyear" />&mvt:global:usdate;</mvt:if> </span> <span id="gts-o-has-preorder">&mvt:global:backorder;</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">&mvt:item:name;</span> <span class="gts-i-price">&mvt:item:price;</span> <span class="gts-i-quantity">&mvt:item:quantity;</span> <span class="gts-i-prodsearch-id">&mvt:item:code;</span> <span class="gts-i-prodsearch-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> <!-- END Trusted Stores -->
Comment