| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Including Extra Form Fields on Registration Page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Conditional Extra Form Fields on Registration Page
Hi All,
I'm trying to include a couple of additional fields on my registration.tpl page, but only when a product has a certain extra field applied to it and when the product option has a certain title. I have this working perfectly on my order invoice template like so : Code:
For whatever reason, this is NOT working on my register.tpl page. Any ideas why I can't loop through the products array and specify the extra product field id or the product option title, but I can on my order_invoice.tpl page?
__________________
v 4.1.11, v 4.2 |
|||||||
#2
|
|||||||
|
|||||||
Re: Including Extra Form Fields on Registration Page
UPDATE:
I believe I have found the correct item in the $products array that I need - 'option_name'. According to the smarty debug console that item is available in the products array on the register.tpl page. Unfortunately my effort at getting ahold of that value is not working. Here was my attempt: Code:
That would appear to be all I would need to do but it doesn't work. Anyone know how I should be getting ahold of the "option_name" value in the $products array?
__________________
v 4.1.11, v 4.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|