WoodlawnTech Posted December 1, 2011 Share Posted December 1, 2011 Hi I am wondering how to change the order of the address fields on the new user registration. Currently it displays as: First name Last name Company Address Address (Line 2) City Zip / Postal Code Country State I would like to have it in the North American standard order of First name Last name Company Address Address (Line 2) City State Country Zip / Postal Code Also after registration, and ordering, the shipping address displays the address properly (configured in back office-->counties), but not the state? In the Back Office Customer Address, there is no State field for the customer? I have attached an image of that. Thanks! Link to comment Share on other sites More sharing options...
nostradamus Posted December 1, 2011 Share Posted December 1, 2011 you can change this by editing the tpl file addresses.tpl and address.tpl from the top of my head Link to comment Share on other sites More sharing options...
WoodlawnTech Posted December 6, 2011 Author Share Posted December 6, 2011 Yeah that does not seem to work? Perhaps I am doing something wrong, I moved the field in address.tpl , and it displays in the incorrect spot: 1 Link to comment Share on other sites More sharing options...
WoodlawnTech Posted December 6, 2011 Author Share Posted December 6, 2011 I tried that, and it still displays in the original spot, after city, instead of where I pasted the code in the address.tpl: <p class="required id_state select"> <label for="id_state">{l s='State'}</label> <select name="id_state" id="id_state"> <option value="">-</option> </select> <sup>*</sup> </p> {/if} {/foreach} {if $stateExist eq "false"} <p class="required id_state select"> <label for="id_state">{l s='State'}</label> <select name="id_state" id="id_state"> <option value="">-</option> </select> <sup>*</sup> </p> {/if} {if $field_name eq 'postcode'} <p class="required postcode text"> <label for="postcode">{l s='Zip / Postal Code'}</label> <input type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'htmlall':'UTF-8'}{/if}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" /> <sup>*</sup> </p> {/if} <p class="textarea"> <label for="other">{l s='Additional information'}</label> Link to comment Share on other sites More sharing options...
WoodlawnTech Posted December 6, 2011 Author Share Posted December 6, 2011 Hi Never mind, I played in the back end (Back Office-->Shipping-->Countries) and that finally got it to work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now