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)
-   -   Populate product options (https://forum.x-cart.com/showthread.php?t=12289)

designer 02-20-2005 05:51 AM

Populate product options
 
I have added an extra product option field called 'Custom ID' for each product.

The user customizes their product online and a unique number is generated.

I am able to display the unique number on screen with PHP.

How do I put/populate this unique number in to the product options field 'Custom ID'?

Example:
http://www.onlinestampandsign.com/product_02.php?productid=16134&cat=266&page=1&key= 02201742BC34L

Thanks greatly!

shan 02-21-2005 02:54 AM

try {$smarty.get.key}

see smarty.php.net for more info

designer 02-21-2005 08:24 AM

the {$smarty.get.key} I'm already using and it works great - outputs to the page - no problems

Would like to place this value in the product options field 'Custom ID'

Thanks


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

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