Bachmann Trading Posted March 29, 2014 Share Posted March 29, 2014 Hi all. I have tried Vekais solution to adding a affiliate tracking code, but I am sorry to say it is not working for me...but I guess it is me doing something wrong. here is the other topic. http://www.prestashop.com/forums/topic/250595-solved-affiliate-tracking-code/ Here is the affiliate iframe i am using <!-- Offer Conversion: Whatbunkers.com - Poloer i høj kvalitet --> <iframe src="http://online.digita...4&amount=AMOUNT" scrolling="no" frameborder="0" width="1" height="1"></iframe> <!-- // End Offer Conversion --> I changed this to <!-- Offer Conversion: Whatbunkers.com - Poloer i høj kvalitet --> <iframe src="http://online.digita..._id=314&amount={$total_products}" scrolling="no" frameborder="0" width="1" height="1"></iframe> <!-- // End Offer Conversion --> I added the below to orderconfirmationcontroller just before the line You specified. $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 )); 1) I want to send just product price excluding vat 2) also is there anyway I can always send the eur price even if the customer checks out with my other currency option Danish kroner? I hope You can help, I have a ton of products that i would like to sell :-) best regards Martin Link to comment Share on other sites More sharing options...
Recommended Posts