| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help with modifying register page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello Everybody!
I need a bit of help with modifying the register page on X-Cart version 4.1.5. Basically, what I require to do is to have the "Country" field be displayed above the "States" field (it's the opposite now). I would greatly appreciate any information as to which template to edit and how. Also, is there any way to have the country field and state field to be blank instead of showing our default country? I ask this because some clients are confused and they think that we only do business in Canada... They don't bother to check the drop down list. Thank you very much for all help! Cheers! |
|||||||
#2
|
|||||||
|
|||||||
![]() Moving to Template Editing
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() skin1/main/register_shipping_address.tpl
|
|||||||
#4
|
|||||||
|
|||||||
![]() Hello Inebriate!
Thanks for directing me to that template mate! Would you be able to tell me which lines I should move? Completely new to PHP ![]() Thanks! |
|||||||
#5
|
|||||||
|
|||||||
![]() Mates, I found the solution for this mod.
Thanks to Inebriate for pointing me in the right direction ![]() Mates, to do this mod, we actually have to modify two templates for version 4.1.5: 1) /main/register_billing_address.tpl 2) /main/register_shipping_address.tpl In both cases, simply locate the following respectively: {if $default_fields.b_state.avail eq 'Y'} ...... {/if} {if $default_fields.s_state.avail eq 'Y'} ...... {/if} And place it after: {if $default_fields.b_country.avail eq 'Y'} ..... {/if} {if $default_fields.s_country.avail eq 'Y'} ..... {/if} (again respectively). Cheers! |
|||||||
|
|||
X-Cart forums © 2001-2020
|