News:

AbanteCart v1.4.2 is released.

Main Menu
support

How to add conversion code?

Started by kaitsie22, March 18, 2013, 04:43:00 AM

Previous topic - Next topic

kaitsie22

Hi, trying to add conversion code in the 'Thank You' page of checking out.

Anyone figure out how to do so?

Thanks!
Kait

abantecart

Success template is shared with few different submit processes.  It will not be right to add it to that template.

You can add javascript to success controller. It will be loaded right after order is placed.

/storefront/controller/pages/checkout/success.php

Add:
$this->document->addScript(RDIR_TEMPLATE . 'javascript/[YOUR FILE]');

somewhere after  line:
$this->extensions->hk_InitData($this,__FUNCTION__);
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Forum Rules Code of conduct
AbanteCart.com 2010 -