![]() |
Changing idAffiliate= to something else |
Post Reply
|
| Author | ||
rivaldog
Newbie
Joined: 26-May-2008 Location: Kansas City Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
Topic: Changing idAffiliate= to something elsePosted: 31-October-2012 at 10:52am |
|
|
Hi,
Where would I change the affiliate id string that needs to go in a tracking URL? I don't want the tracking URL to read: www.whatev.com/store/pc/etc...&idaffiliate=5 I would like it to read: www.whatev.com/store/pc/etc...&opid=5 So basically, I need to know what file to change so that Productcart will track an affiliate from URLs using {&opid} instead of {&idaffiliate}. thank you Doug Edited by rivaldog - 31-October-2012 at 10:55am |
||
|
Rivaldog
|
||
![]() |
||
Guests
Guest
|
Post Options
Thanks(0)
Quote Reply
Posted: 31-October-2012 at 3:06pm |
|
|
Hi Doug,
In /pc/pcStartSession.asp find the following:
Change that to:
|
||
![]() |
||
Greg Dinger
Certified ProductCart Developers
Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
Quote Reply
Posted: 31-October-2012 at 4:08pm |
|
|
I'm not so sure there isn't a bit more, such as changing how the affiliate code session variable is managed. It would take some testing and review.
|
||
![]() |
||
rivaldog
Newbie
Joined: 26-May-2008 Location: Kansas City Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
Posted: 31-October-2012 at 5:02pm |
|
|
ok... thank you - I will try changing the pcStartSession.asp file and running a test. Can't hurt to try :-) will post result here. thx again
|
||
|
Rivaldog
|
||
![]() |
||
Guests
Guest
|
Post Options
Thanks(0)
Quote Reply
Posted: 31-October-2012 at 5:09pm |
|
|
The session variable will store the value for pcInt_IdAffiliate
However, there is another bit to this: if affiliates will be logging in to get URLs to post on their sites. The query string for them would need to be changed.
|
||
![]() |
||
Guests
Guest
|
Post Options
Thanks(0)
Quote Reply
Posted: 31-October-2012 at 5:14pm |
|
|
In /pc/AffGenLinks.asp find 3 instances of this exact string:
Change them to:
|
||
![]() |
||
rivaldog
Newbie
Joined: 26-May-2008 Location: Kansas City Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
Posted: 01-November-2012 at 12:01pm |
|
|
Hi - Just updating the thread with my results. I made the three changes in /pc/AffGenLinks.asp and the one change in /pc/pcStartSession.asp and ran a test. Everything appears to be working perfectly. We sent ourselves a link from an existing affiliate, ordered the product and after completing the order, the affiliate's account was updated with their commission and the affiliate was sent an email notification of the order. Very nice!!
Thank you for your help Sean! |
||
|
Rivaldog
|
||
![]() |
||
Guests
Guest
|
Post Options
Thanks(0)
Quote Reply
Posted: 01-November-2012 at 12:57pm |
|
|
My pleasure.
|
||
![]() |
||
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |