Jump to content

variable {$order_total}


simonfard

Recommended Posts

Hi,

i used below to get a tracking pixel works fine but after the last update (1.7.5.1) it doesnt work any more, any idea please?

 

$order = new Order((int)$this->id_order);

$this->context->smarty->assign('order_total', $order->getTotalProductsWithTaxes());

 

in override / controllers / front / OrderConfirmationController.php

 

and then 

{$order_total} in the tracking code

in theme/ templates / checkout / order-confirmation.tpl

the tracking code is like:

<img src="https://track.******/track/6211/?hash=********={$order_total}&reference={$order.details.reference}" width="0" height="0">

{$order.details.reference} this works yet but not {$order_total}

 

 

Thanks

Simon

 

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...