X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Post Code move above Country? (https://forum.x-cart.com/showthread.php?t=12551)

Freakmode 03-03-2005 01:54 AM

Post Code move above Country?
 
Hi

Trying to tody up the registration process for our UK site.

I have been messing with the /main/register_billing_address.tpl file but for some reason I can't get the Post Code to move above the Country.

Whenever I try to move it I end up with 2 x country fields !!!!

Anyone eny ideas on what chunk of code I need to change.

Also after removing all of the UK counties I now end up with "Other" as the default field entry. Can I change this too?

THanks

pauldodman 03-03-2005 04:45 AM

Hi,

I think someone had a similar problem to which I posted a reply.

http://forum.x-cart.com/viewtopic.php?t=17218&highlight=

I have not heard back, so am not sure how they got on. However, I am guessing that it is not working properly as there are more files involved. I imagine as you are editing what is essentially a form, you are only changing a fraction of it. You would need to edit the php as well that works the form.

My solution is a work around that allows you to use the User Profiles options under General Settings.

Let me know if this gets you moving in the right direction.

Paul Dodman
e-business consultant
Lumino Internet
luminointernet.co.uk

balinor 03-03-2005 05:01 AM

Actually, you don't need to mess with any PHP, you just have to be careful with the {if} statements. The country and state fields are tied to eachother, so you have to be careful not to break the {if}statements with them. Putting the post code between the state and country could break it if you aren't careful.

Freakmode 03-03-2005 05:36 AM

Tell me about it, I have been messing with this little gem for hours.

Anyone else in the UK alredy done this and willing to paste up their solution?


All times are GMT -8. The time now is 11:14 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.