Post by VladZablotskyy » Wed Sep 08, 2010 9:27 am

Not sure this is a correct forum to post this request but there it is...

We are planing to launch an affiliate program with ShareASale and are in the process of integrating the tracking code. It was a bit disappointing to see the guide for so many other cars (like OSCommerce and Magento ::) ) yet none for OpenCart :(

Anyway the default tracking code is this:

Code: Select all

<img src="https://shareasale.com/sale.cfm?amount=AMOUNTOFSALE&tracking=TRACKINGNUMBER&transtype=TYPEOFTRANSACTION&merchantID=XXXX" width="1" height="1">
It needs to be placed on the "thankyou/success" page in OpenCar. Following are the crucial info that needs to be passed to ShareASale.
AMOUNTOFSALE = subtotal (before any shipping/handling cost or taxes)
TRACKINGNUMBER = Order ID

Any help will be much appreciated.

New member

Posts

Joined
Wed Oct 07, 2009 3:47 am

Post by Miguelito » Wed Sep 08, 2010 7:58 pm

Well this needs customization of /catalog/controller/checkout/success.php to capture the subtotal and order id + creating that whole link with subtotal and order id. Also you need to edit /catalog/language/english/checkout/success.php.

The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."


Active Member

Posts

Joined
Sun Jan 10, 2010 10:11 pm

Post by Xsecrets » Wed Sep 08, 2010 9:16 pm

actually it's a bit more difficult than that because the order information gets destroyed out of the session before sucess, so you have to go back and set the order information in a new session variable that won't get destroyed so that you can access it in the success file It's something that really should be addressed in the core since there are many, many tracking things out there that all need this info on the success.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by VladZablotskyy » Wed Sep 08, 2010 9:31 pm

It all sounds like something out of the rocket science class to me..... :(
Thanks nevertheless!

New member

Posts

Joined
Wed Oct 07, 2009 3:47 am

Post by npcheshire » Sat Jul 09, 2011 11:22 am

+1 vote for Shareasale support in Opencart!

Newbie

Posts

Joined
Sat Jul 09, 2011 11:19 am

Post by onlinemarketer » Mon Aug 22, 2011 11:44 pm

Are the votes still being counted?!

+1 more!

Most third party affiliate systems require this so it would be a great addition to opencart as core or extention :)

Active Member

Posts

Joined
Sat May 14, 2011 8:21 pm

Post by arames » Fri Apr 20, 2012 12:35 am

Pleeeeeeeeeeeease has ANYBODY found a solution to integrate ShareAsale with OpenCart?

ShareAsale send us automatically hundred of thousands of clicks and affiliates from their site, so we need a code to pay them.

Warm regards

New member

Posts

Joined
Fri Mar 09, 2012 8:27 pm

Post by izee » Wed Nov 28, 2012 2:08 am

I desperately need to know the answer to this as well.

Newbie

Posts

Joined
Wed Aug 08, 2012 2:58 am

Post by flywatches » Thu May 30, 2013 9:16 am

Couldnt you simply insert the shareasale code in the footer template?

Jonathan
Fly-watches.com
Version 1.5.6.4


New member

Posts

Joined
Fri Oct 19, 2012 11:38 pm
Location - Gilbert, AZ
Who is online

Users browsing this forum: No registered users and 4 guests