![]() |
Move fields around in One Page checkout
I can't seem to find out what file to change, in order to move the zip code field in the one page checkout.
Anybody knows? Thank you. |
Re: Move fields around in One Page checkout
Not sure what you are trying to do but if you want to remove the Zip code field then in your XC admin go to General Setting > User Profile
|
Re: Move fields around in One Page checkout
I don want to REMOVE, but I want to MOVE.
In Denmark you put in the zip code before you put in the city, so I want the fiels to be in the right order. |
Re: Move fields around in One Page checkout
Use the webmaster mode to find the correct file. Just so you know - XC uses a loop to output the fields (you will not see individual fields listed in there) so you will have to modify the template and the foreach in that template for your specific needs
|
Re: Move fields around in One Page checkout
I have tried webmaster tools, but I don't see how I can what file is used??
I am aware that I have to modify the template, I just need to know what template to modify. |
Re: Move fields around in One Page checkout
look in common_files/modules/One_Page_Checkout/profile I'm assuming address_fields.tpl
|
Re: Move fields around in One Page checkout
I have tried all files in that directory, but can't seem to find where it is.
Maybe it is the file address_fields.tpl but I can't figure out how to move the field in that file. |
Re: Move fields around in One Page checkout
Like I said
Quote:
|
Re: Move fields around in One Page checkout
Thank you. I tried to change the order in init.php, but nothing.
The other method is to complicated for me to figure out :-) |
Re: Move fields around in One Page checkout
Actually changing the init.php file worked.
I just needed to execute the following SQL query to the database: update xcart_config set value = "" where name = 'address_book_fields'; So thank you very much for your help!! |
All times are GMT -8. The time now is 05:46 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.