Hello,
I am new at OpenCart and plan to integrate some affiliate marketing into my site, which is currently out of the box with no modifications. ShareASale gave me the following string to insert into the order confirmation page in order to verify the tracking code. This should be the final "thank you for your order" page.
1. What is the path and the file that gets called by this page?
2. Where in the file should this string be inserted?
3. How are the values derived for TRACKINGNUMBER & TYPEOFTRANSACTION?
<img src="https://shareasale.com/sale.cfm?amount= ... antID=XXXX"
width="1" height="1">
Any help on this is appreciated.
Dan
I am new at OpenCart and plan to integrate some affiliate marketing into my site, which is currently out of the box with no modifications. ShareASale gave me the following string to insert into the order confirmation page in order to verify the tracking code. This should be the final "thank you for your order" page.
1. What is the path and the file that gets called by this page?
2. Where in the file should this string be inserted?
3. How are the values derived for TRACKINGNUMBER & TYPEOFTRANSACTION?
<img src="https://shareasale.com/sale.cfm?amount= ... antID=XXXX"
width="1" height="1">
Any help on this is appreciated.
Dan
You'll want to put that in catalog/view/theme/<themename>/template/checkout/success.tpl.
Probably at the bottom of the page is best. You'll need to do a little work to get the tracking information such as order value etc in there.
Probably at the bottom of the page is best. You'll need to do a little work to get the tracking information such as order value etc in there.
Documentation: OpenCart User Guide
Mods: Total Import PRO | CSV Import PRO | Ecom Tracking | Any Feed | Autosuggest | OpenCart CDN
The last location you mentioned: under "/<themename>/template/common" is the right location.dans80 wrote:Just checked the path and there is no success.tpl under "/<themename>/template/checkout" path but there is a success.tpl under "/<themename>/template/common".
Is that the same file that gets called at checkout?
Thanks,
Dan
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Sorry, my mistake. Good work finding it despite the bad instructions.
I've integrated a couple of affiliate systems. One of them is google analytics, the other was something more custom. They are both similar to what you are doing.
I've integrated a couple of affiliate systems. One of them is google analytics, the other was something more custom. They are both similar to what you are doing.
Documentation: OpenCart User Guide
Mods: Total Import PRO | CSV Import PRO | Ecom Tracking | Any Feed | Autosuggest | OpenCart CDN
Who is online
Users browsing this forum: No registered users and 5 guests