Post by gmedia01 » Tue Dec 04, 2012 8:56 am

In the US, the Zone/State code ALWAYS comes right before the Postcode/zip code.

How do I change the order or location of these fields, specifically the Zone/State field, during checkout/registration?

Thanks ahead of time for your help!

Chris

New member

Posts

Joined
Sun Aug 26, 2012 4:49 am

Post by Avvici » Thu Dec 06, 2012 5:13 am

Yes I know, makes no sense for most parts of the world.

It shows up in a number of areas but here is how you change it in the checkout registration for guest and non guest:

Open: catalog/view/theme/your_theme/template/checkout/register.tpl and find this code:

Code: Select all

<span id="payment-postcode-required" class="required">*</span> <?php echo $entry_postcode; ?><br />
<input type="text" name="postcode" value="<?php echo $postcode; ?>" class="large-field" />
<br />
<br />
Just CUT that code and paste it above or below another for example if you want it below the STATE then place it below the state like this:

Code: Select all

<span class="required">*</span> <?php echo $entry_zone; ?><br />
<select name="zone_id" class="large-field">
</select>
<br />
<br />
<span id="payment-postcode-required" class="required">*</span> <?php echo $entry_postcode; ?><br />
<input type="text" name="postcode" value="<?php echo $postcode; ?>" class="large-field" />
<br />
<br />

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by gmedia01 » Wed Dec 12, 2012 1:46 am

OH MY GOODNESS!
Why have I wasted so much time on that?? lol

THANK you :)

Chris

New member

Posts

Joined
Sun Aug 26, 2012 4:49 am
Who is online

Users browsing this forum: No registered users and 106 guests