Guest Posted October 14, 2014 Share Posted October 14, 2014 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-IDProduct-IDsPrice of ProductCategory NameCategory IDBrandRelated Product-IDsProduct QuantitiesOrder-IDSale 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 More sharing options...
Reco-X Posted October 14, 2014 Share Posted October 14, 2014 I will bring you some link that can help you. Search products in custom fields http://www.prestashop.com/forums/topic/306426-solved-search-in-custom-field-of-product/ Add custom fields: http://www.prestashop.com/forums/topic/246888-solvedadd-custom-field-products-15/ Link to comment Share on other sites More sharing options...
Guest Posted October 14, 2014 Share Posted October 14, 2014 (edited) 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 October 15, 2014 by Guest (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts