Jump to content

PS 1.3 for tpl code for product, category, quantities,..


Guest

Recommended Posts

Hi, I successfully added tracking code on our website (prestashop 1.3.4.0).
Now I would need only advise - in code we must write text for adding the following parameters:
Product-ID
Product-IDs

Price of Product
Category Name
Category ID
Brand
Related Product-IDs
Product Quantities

Order-ID
Sale Amount

 

For last two (what are green) I know what I need write into code.
Order-ID ---> {$id_order}
Sale Amount ---> {$order->total_products}

But on first eight not (red), is here someone who know code for this please?

Thank you in advance for help.

 

(I try search in documentation but without result :/)

Link to comment
Share on other sites

Hi Reco-X, thanks for your answer but you maybe misunderstood me.

 

for example:

I have affiliate script wrote in root/themes/mytheme/order-confirmation.tpl

and this affiliate script look:

<iframe height="1" width="1" frameborder="0" scrolling="no" src="affiliatecompanyurl/OID={Order-ID}&AMOUNT={Sale Amount}&CURRENCY=EUR&SKU={Product-IDs}&PRQTY={Product Quantities}"></iframe>

 

so I need know prestashop code for {Order-ID},{Sale Amount},{Product Quantities}

order id and sale amount I know {$id_order} and {$order->total_products} but product quantities not :(

 

and i have four affiliates scripts (for product page, confirmation page, etc.) and on all scripts i need know 10 parametres as I wrote in my first post, and from these ten parametres I know only last two but on first eight not

 

I try read documentation but without luck :,(

Edited by Guest (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...