Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 12-03-2008 17:52:21

michaelt
Member
Registered: 09-24-2008
Posts: 19

Tracking product_id

I'm trying to use a third-party affiliate system.  Could you tell me what to include to track the product id in a confirmed order -  assuming this is possible.  Thanks

var TotalCost="(CGIVAR)tracking_subtotal(/CGIVAR)";
var OrderID="(CGIVAR)tracking_id(/CGIVAR)";
var ProductID="";

Offline

 

#2 12-03-2008 19:21:05

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Tracking product_id

Your question looks like it deal with ccp5.1 as what you posted is pearl variables used there. You need to ask your question in the forum for 5.1 as people looking in this forum are dealing with ccp6 and do not have those variables in use and will not be able to answer your question.

John

Last edited by dh783 (12-04-2008 07:48:02)

Offline

 

#3 12-04-2008 07:40:30

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Tracking product_id

Not possible, since an order may have more than one product.  Therefore, you couldn't make one variable with the name of the product - there would be an unknown number of variables depending on how many things were ordered.  So as it stands now, the product ids are not loaded intp variables at the completion of the checkout.


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#4 12-05-2008 16:50:55

michaelt
Member
Registered: 09-24-2008
Posts: 19

Re: Tracking product_id

Thanks for responses.  Most helpful.  I appreciate the problem with multiple product ids.  I thought there might be a way to capture the individual product ids in a multiple order.  But obviously not.  As for the code, I'm running ccp6 and the code I referred to was supplied by the third-party supplier.  Could you confirm that

var TotalCost="(CGIVAR)tracking_subtotal(/CGIVAR)";
var OrderID="(CGIVAR)tracking_id(/CGIVAR)";

translates in ccp6 to

var TotalCost="(CGIVAR)$order['ordertotal'](/CGIVAR)";
var OrderID="(CGIVAR)$order['id'](/CGIVAR)";

Thanks again.

Offline

 

#5 12-05-2008 17:32:43

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Tracking product_id

That I cannot confirm, since I am not intimately acquainted with version 6.  I will however move the post to the 6.0 forum so that it can be answered by someone there.


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#6 12-05-2008 18:15:34

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Tracking product_id

The answer to whether or not those might be the correct variables depends on where you're trying to use them.

Offline

 

#7 12-08-2008 19:10:59

michaelt
Member
Registered: 09-24-2008
Posts: 19

Re: Tracking product_id

Thanks Dave.  I clearly need to do a bit more research on this.  Fortunately a new version of the affiliate software has been released that provides the code for ccp6 so I think I shall be OK.

Offline

 

Board footer