Jump to content

how install conversion code justuno in prestashop 1.6


tecnopak

Recommended Posts

Hi 

Hi. from where I get the variables or what are the variables to place in:
[order id]
[total order]

[order subtotal]
[item id]
[item name]
[item quantity]

[item price]

<script data-cfasync="false"> 
  window.juapp=window.juapp||function(){(window.juapp.q=window.juapp.q||[]).push(arguments)}

  /* 
  Replace the [order ...] portions below with the actual order information.  
  You can omit any of the attributes that you don't have values other then the order id and order total. 
  */

  juapp(
    'order',
    '[order id]',
    {total:[order total],subtotal:[order subtotal]}
  ); 
    
  /* 
  You will need to repeat this line of code for each item in the order.
  Replace the [item ...] portions below with the actual item information in order. 
  You can omit any of the attributes that you don't have values other then the item id and quantity. 
  */

  juapp(
    'orderItem',
    '[item id]',
    {name:'[item name]',quantity:[item quantity],price:[item price]}
  );

  /* end of repeat section */
</script>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...