X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Help with passing variable (https://forum.x-cart.com/showthread.php?t=806)

coolcat 11-26-2002 10:39 PM

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.

B00MER 11-30-2002 06:34 PM

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. :wink:


All times are GMT -8. The time now is 12:36 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.