| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Select Box - User Profile | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi All,
I see that in the user profiles section of the admin I can add some additional fields. I have the option to add a select box as one if these. I want to add one to allow a user to select a state, however, for example I want the state to appear as "Alaska" but the value stored in the DB to be "AK". I wonder can this be done? Thanks, FWM.
__________________
X-Cart 4.1.9 X-Cart 4.4.1 X-Cart Platinum 4.6.1 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You'd have to customize the template where that appears and use code for generating the states drop-down in place of that field, something like this:
PHP Code:
The template might be main/register_additional_info.tpl |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|