Walrus Posted February 19, 2015 Share Posted February 19, 2015 How do I move the Zip / Postal Code field so its *below* the City field? I have tried to move the following code block down one in address.tpl but it has no effect. {if $field_name eq 'postcode'}{assign var="postCodeExist" value=true}<div class="required postcode form-group unvisible"><label class="control-label col-sm-4" for="postcode">{l s='Zip / Postal Code'} <sup>*</sup></label><div class="col-sm-6"><input class="is_required validate form-control" data-validate="{$address_validation.$field_name.validate}" type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'html':'UTF-8'}{/if}{/if}" /></div></div>{/if} Thanks. Link to comment Share on other sites More sharing options...
Question
Walrus
How do I move the Zip / Postal Code field so its *below* the City field? I have tried to move the following code block down one in address.tpl but it has no effect.
{if $field_name eq 'postcode'}
{assign var="postCodeExist" value=true}
<div class="required postcode form-group unvisible">
<label class="control-label col-sm-4" for="postcode">{l s='Zip / Postal Code'} <sup>*</sup></label>
<div class="col-sm-6">
<input class="is_required validate form-control" data-validate="{$address_validation.$field_name.validate}" type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'html':'UTF-8'}{/if}{/if}" />
</div>
</div>
{/if}
Thanks.
Link to comment
Share on other sites
0 answers to this question
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