PDA

View Full Version : Installing with S Mart Shopping Cart


Gina
8th December 2004, 04:38 PM
I am currently testing Post Affiliate (free version). So far have installed everything. The banners link to index.php, but when you click on the button to enter our shop the ?ref in the url disappears. I assume that the affiliate's referral is not being tracked anymore.

Is it possible to integrate with this shopping cart? And, if so, where in the cart script do i put <?PHP include "check1.php"; ?> to ensure that it is tracked. When the website it entered from an affiliate's banner the url is:
http://www.xxxxxxxxx.com/index.php?ref=xxxxx, when you then enter the main shop the url becomes http://xxxxxxxx.com/cgi-bin/cart/smart.cgi.

And, can the Post Affiliate Pro be integrated with this cart.
[/url]

mark
14th December 2004, 10:36 AM
Hello,

the ref parameter is in url only until you click some link, and it is fine. It saves the data into the cookie, and affiliate's referral is still tracked.

As far as I checked S Mart shopping cart, it can be integratedwith both Pro and free versions.
Because it is Perl based, it would require putting an invisible message to valid.cgi file.
For free version you have to add something like

print "http://www.yourdomain.com/affiliate/check1.php";


below line

print "<TR>\n<TD>Subtotal:</TD><TD></TD><TD></TD><TD align=right>[B]\$$in{subtotal}</TD>\n</TR>\n\n";


Free version does not have any debugging feature, so you should require some knowledge of PHP to set it up if it doesn't work at first try.

regards,

mark