305consumables Posted June 25, 2015 Share Posted June 25, 2015 I'm Installing Norton Shopping guarantee in my website and I have to paste in the Checkout confirmation page this block in order to send details of the transaction to Norton. I just need to know the name of the 3 variables (orange) to complete the installation. I've pasted this code in order-confirmation.tpl. Thanks <!-- BEGIN: NSG_GUARANTEE --> <span id="_GUARANTEE_GuaranteeSpan"></span> <script type="text/javascript" src="//nsg.symantec.com/private/rollover/rollover.js"> </script><script type="text/javascript"> if(window.buySAFE && buySAFE.Loaded) { _GUARANTEE.Hash = 'XXXXXXXXXX'; _GUARANTEE.Guarantee.order = '...order number goes here...'; _GUARANTEE.Guarantee.subtotal = '...item subtotal goes here...'; _GUARANTEE.Guarantee.email = '...buyer's email goes here...'; _GUARANTEE.WriteGuarantee("JavaScript", "_GUARANTEE_GuaranteeSpan"); } </script> <!-- END: NSG_GUARANTEE --> Link to comment Share on other sites More sharing options...
Darussalam Posted May 31, 2016 Share Posted May 31, 2016 Hello, I came across your post when trying to figure out the variables as well. After spending over an hour I finally got it to work and it may be helpful for others well. Here is the code for the 3 variables: _GUARANTEE.Guarantee.subtotal= '{$order.subtotal}'; _GUARANTEE.Guarantee.order = '{$order.id}'; _GUARANTEE.Guarantee.email = '{$email}'; Regards, Omar http://dar-us-salam.com Worship Allah (the one and only Lord of all the Worlds) alone and don't associate anyone with him if you want to be saved. Link to comment Share on other sites More sharing options...
Recommended Posts