Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Help with passing variable

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-26-2002, 10:39 PM
 
coolcat coolcat is offline
 

Newbie
  
Join Date: Nov 2002
Posts: 5
 

Default Help with passing variable

I've tried for a few hours to no resolution to pass the cart_id and the order total parameter values to a custom script.

Basically this is how it will appear on the page;

cartid="value of order_id"
amount="order total"

This will be in the order_message.tpl file.

This is the order payment thank you page
http://www.sitename.com/xcart/cart.php?mode=order_message&orderids=50

I would appreciate any help on this.

Thanks.
Reply With Quote
  #2  
Old 11-30-2002, 06:34 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Looks like your trying to install an affiliate program, perhaps ultimate affiliate? Best suggestion I can make is to enable the debug console in the admin -> general settings, and to edit xcart/smarty.php and make debug_templates.tpl, just debug.tpl and have a look at the {$smarty.variables} and just insert them into the <IMG> tag url for the affiliate.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:55 AM.

   

 
X-Cart forums © 2001-2020