| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Reorder fields in main/register_billing_address.tpl | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I want to re-order the fields (as displayed) in main/register_billing_address.tpl
I tried "simply" moving things around - but there is some method to the madness... and it appears that the country is tied to state and postal code... The default order for this tpl is: What I want is for the customer input to look like this: note - the country is the last field... I tried swapping these paragraphs... Code:
Zip code disappeared ![]() Anyone know how to do this?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#2
|
|||||||
|
|||||||
![]() You sure you grabbed all the if statements when you swapped them?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Quote:
Yes. Here's the code with line numbers: If I grab lines 114-126, and insert it after line 139, I get a 2nd country field. If I grab lines 131-139 and simply insert it before line 114, the zip/postal code field disappears. Hmm... I just looked at about 20 x-cart stores, it appears nobody has changed this! I can live with this, but it's not "customary" for my country... postal code typically comes before "country". Now, if country were the first entry, I would understand... ok, let me try that... Ok -- I moved the country paragraph to the top (which I like) - but there is STILL the extra country field... I think this is related to the "county" code: Code:
I can't figure out what's going on in there... I am not using counties - but if I comment this paragraph out, there's an error... Can someone try to swap these paragraphs and are your results the same? Thanks, Jeremy PS -- putting the country field on top doesn't work -- since the STATES and country are linked ina way -- I only have 2 countries enabled right now (US & Canada) and when Canada is selected, there is a pull down list of provinces. When US is selected, there is a pulldown list of states. SO -- the design of this input box really should have country before anything, since states (and even counties) are all dependent on the country input. The flaw in the interface design is the customer has to jump around... instead of a linear flow, next, next, next, etc... the customer has to jump down, input country, then they get more options... bad design, IMO. How are others getting around this? (well, I haven't seen anyone get around it yet -- in all of the xcart "live" demo stores).
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|