Post by Qphoria » Sun Jan 22, 2012 10:21 am

Simple script for people who use shareasale.com for affiliate tracking.
Edit the script and change your "merchant_id" where instructed
Should work for both 1.4.x and 1.5.x

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by VladZablotskyy » Tue May 01, 2012 5:05 am

Qphoria, I am about to upgrade our OpenCart from 1.4.x to the 1.5.x... I hacked our current version (1.4.9) with the shareasale.com tracking code... it currently tracks/reports the total to shareasale.com before any shipping costs are applied. I am not familiar at all with all the changes OpenCart has gone through so please forgive my ignorance- does your script do the same, the total before the shipping cost? Also what do I do with this script? Where do I place it in relation to OpenCart folder? Thanks in advance! Much appreciated.

New member

Posts

Joined
Wed Oct 07, 2009 3:47 am

Post by Qphoria » Mon May 14, 2012 9:08 pm

It uses vQmod.. read this to understand:
http://forum.opencart.com/viewtopic.php?f=131&t=27139

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by gomundo » Tue Jun 12, 2012 10:21 pm

I am using the shareasale vqmod, but I have one problem, it seems to be including the shipping cost, where as it should be reporting the subtotal without shipping cost to shareasale. Is there a fix for this?

Newbie

Posts

Joined
Thu Jan 13, 2011 5:23 am

Post by coolshop » Sun Sep 09, 2012 10:33 am

Hello Qphoria

It seems that this Shareasale.xml no longer works because the clear cart code is no longer in success.php

Can you give some direction on how to modify this to work?

Thank you!

New member

Posts

Joined
Sun Sep 09, 2012 10:31 am

Post by stewdawg35 » Wed May 08, 2013 10:06 pm

For some reason this vqmod is not working for me. I get the following error upon checking out:

Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.

We are using 1.5.3.1

Do you have any suggestions on how to fix it? (I'm happy to pay for anyone's time to get it working)

Newbie

Posts

Joined
Thu Oct 06, 2011 2:54 am

Post by FootForward531 » Sat May 25, 2013 5:12 am

Hi, I used this and it works wonderfully. However, my client only wants to pay commission on the subtotal, so I need to submit the total sale price without taxes or shipping included.

I suspect that I need to change where it says "$order_info['total']" in the code. Is that correct? What should I put to basically send the order subtotal to the affiliate tracker?

Thanks for this script and for your help customizing it!
Sarah


Posts

Joined
Sat May 25, 2013 5:08 am
Who is online

Users browsing this forum: No registered users and 6 guests