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

Populate product options

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-20-2005, 05:51 AM
 
designer designer is offline
 

Newbie
  
Join Date: Jan 2005
Posts: 4
 

Default 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!
__________________
X-Cart 4.x - PHP 4.3.1
Reply With Quote
  #2  
Old 02-21-2005, 02:54 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

try {$smarty.get.key}

see smarty.php.net for more info
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 02-21-2005, 08:24 AM
 
designer designer is offline
 

Newbie
  
Join Date: Jan 2005
Posts: 4
 

Default

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
__________________
X-Cart 4.x - PHP 4.3.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:36 PM.

   

 
X-Cart forums © 2001-2020