Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Need To Language Variable For Order Total To Call The Conversion Value Dynamically In An Affiliate Integration Code. Rate Topic   - - - - -

 

Posted 29 July 2019 - 11:02 AM #1

Working with design/themename/template/addons/my_changes/hooks/checkout/order_confirmation.override.tpl and I am trying to pass order total value (dynamically) for the integration code used in the affiliate platform. So which variable should I use in javascript to dynamically call the order total for each conversion.

Code sample:
 

<script src="https://script.tapfi.../tapfiliate.js"type="text/javascript" async></script>
<script type="text/javascript">
  (function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){ (t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');
 
  tap('create', 'YOUR ACCOUNT ID', { integration: "javascript" }););
  tap('conversion', 'Unique Conversion Id', Conversion Amount);
</script>
 
Kindly suggest which variable should be used for calling,
1) Unique Conversion Id
2) Conversion Amount (dynamically)

ref link - https://tapfiliate.c...ons/javascript/
 


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19846 posts

Posted 29 July 2019 - 02:03 PM #2

Please try the following solution

https://forum.cs-car...affiliate-code/

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.