VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: webbo on September 14, 2016, 03:29:25 AM

Title: Pixel Tracking Code . I am pulling my hair out
Post by: webbo on September 14, 2016, 03:29:25 AM
Hi all we are trying to place a tracking code to output the following  variables

The order ID

the sales total / with out or with tax on the check success  (completed transaction  )

What template do we  need to edit and what php code needs to be added .

Using the latest ver no temeplates just the standard install
eg need http://domain.com/?order_id=$var&sales=&var

Many thank
Title: Re: Pixel Tracking Code . I am pulling my hair out
Post by: GJC Web Design on September 14, 2016, 13:09:43 PM
over ride components\com_virtuemart\views\cart\tmpl\order_done.php if the vars u need are there

if they aren't then u need to pass them thru from the payment plugin which is where the $this->html is coming from

or form the pixel url in the payment plugin