5 replies [Last post]
george@dynapres.nl's picture
Offline
Joined: 01/02/2008
Juice: 240
Was this information Helpful?

Is there any way to change to order of the address fields during checkout? For example, I'd like to have the Postal Code appear above the City field. Maybe fields weights could be introduced at admin/store/settings/checkout/edit/fields

---
George on Drupal

tinhoang's picture
Offline
Joined: 05/26/2010
Juice: 39
could use this as well

I'd like to put State above Country. usually country goes last.

awebmanager's picture
Offline
Joined: 11/11/2010
Juice: 57
Re: could use this as well

I'm having the same problem as the original poster - I'm running a shop in the UK and the order of the fields should be city, county, postcode, country, but instead it's city, country, county, postcode. I've looked in several of the config files, but can't see anything that determines the ordering of the address fields in there. I've checked all the boxes on the Ubercart modules install and checked all permissions boxes, in case there's something I was missing enabling the config of these fields. I've even looked in Content Templates but the checkout form isn't listed there as a content type in its own right. Can anyone help?

awebmanager's picture
Offline
Joined: 11/11/2010
Juice: 57
Re: Re: could use this as well

It's OK, I've sorted it by looking at another forum post - there was no solution there either but it referred to uc_cart_checkout_pane.inc within modules/ubercart/ubercart/uc_cart - I just cut and pasted the delivery_country and billing_country sections in that file to a lower position. Still fiddly though Eye-wink

MegaChriz's picture
Offline
Joined: 12/07/2009
Juice: 108
Re: Changing order of address fields during checkout

With the 2.x-dev of Extra Fields Pane you will have the ability to change the order of the address fields.
http://drupal.org/project/uc_extra_fields_pane

Dubber Dan's picture
Offline
Joined: 10/23/2010
Juice: 74
Re: Re: Changing order of address fields during checkout

That did the trick and means no hacking of the module