CWB Posted September 8, 2017 Share Posted September 8, 2017 Hello, Im trying to implement the tracking code of sharesale.com to send info (product price without shipping cost) but I cannot make it work... If someone can help... below are the two files that I have modified : /modules/paypal/views/templates/front/order-confirmation.tpl <img src="https://shareasale.com/sale.cfm?amount={$order.total_products}&tracking={$order.id_order}&transtype=sale&merchantID=74223" width="1" height="1"> /controllers/front/OrderConfirmationController.php $order = new Order($this->id_order); $cart = new Cart($order->id_cart); $description=""; foreach ($cart->getProducts() AS $k=>$v){ $description.=$v['name']."X".$v['quantity']; } $description=urlencode($description); $this->context->smarty->assign(array( 'total_products'=>$order->total_products, 'description'=>$description )); Iam using Prestashop 1.6.0.11 with PayPal official module v3.8.1 PS : the below code sucessfully send price (order price + shipping) <img src="https://shareasale.com/sale.cfm?amount={$order.total_paid}&tracking={$order.id_order}&transtype=sale&merchantID=74223" width="1" height="1"> Link to comment Share on other sites More sharing options...
CWB Posted September 10, 2017 Author Share Posted September 10, 2017 Hello, Im still stuck with this issue, any help ? Link to comment Share on other sites More sharing options...
melvir Posted October 25, 2018 Share Posted October 25, 2018 (edited) En 10/9/2017 a las 1:51 AM, CWB dijo: Hello, Im still stuck with this issue, any help ? Did you find the answer to this issue? I have PS 1.7 and I can't integrate with my affiliate program. Edited October 25, 2018 by melvir (see edit history) Link to comment Share on other sites More sharing options...
espacious Posted July 25, 2019 Share Posted July 25, 2019 Hi there, to implement the shareasale tracking code i use only this img pixel and works ok. It's inserted in all confirmation.tpl pages. (paypal, default presta, credit card, express checkout...) Now i would like to have in the pixel also this data: skulist=SKU1,SKU2 pricelist=PRICE1,PRICE2 quantitylist=Quantity1,Quantity2 as specified here: http://shareasale.com/itp/custom.htm#_Toc520969531 Anyone have a solution? Link to comment Share on other sites More sharing options...
espacious Posted September 13, 2019 Share Posted September 13, 2019 Ok i found a solution, if anyone interested contact me. Link to comment Share on other sites More sharing options...
WineMark Posted February 19, 2020 Share Posted February 19, 2020 On 9/13/2019 at 8:25 AM, espacious said: Ok i found a solution, if anyone interested contact me. Hi espacious, we have kinda the same issue. We use Prestashop 1.7 We try to get a tracking pixel from belboon in to our orderconfirmation.tpl but none of the global smarty variables are giving a value or amount. The tracking worked with order_id and module_id (just to test if it is working at all). Please help best regards Mark Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now