philippagreen Posted December 1, 2015 Share Posted December 1, 2015 Is there a way of changing the order of how the address boxes are displayed at the Checkout please? (Cubecart 6, Foundation Skin) I've altered a few files but nothing has worked. It's currently displaying Postcode, Country, County, however it should be displayed at County, Postcode, Country. Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 1, 2015 Share Posted December 1, 2015 In the skin template content.checkout.confirm.php, the displayed order is as you describe for non-logged in customers:<div class="row"> <div class="small-12 large-8 columns"> <label for="addr_postcode" class="show-for-medium-up">{$LANG.address.postcode}</label> <input type="text" name="billing[postcode]" id="addr_postcode" class="uppercase required" value="{$BILLING.postcode}" placeholder="{$LANG.address.postcode} {$LANG.form.required}"> </div> </div> <div class="row"> <div class="small-12 large-8 columns"> <label for="country-list" class="show-for-medium-up">{$LANG.address.country}</label> <select name="billing[country]" class="nosubmit" rel="state-list" id="country-list"> {foreach from=$COUNTRIES item=country} <option value="{$country.numcode}" {$country.selected}>{$country.name}</option> {/foreach} </select> </div> </div> <div class="row"> <div class="small-12 large-8 columns"> <label for="state-list" class="show-for-medium-up">{$LANG.address.state}</label> </span><input type="text" name="billing[state]" id="state-list" required value="{$BILLING.state}"> </div> </div> with another set of statements for the Delivery address.The rows can be swapped around to show the order of state, postcode, country.This may introduce some confusion as when the Country is such that it has county/state entries, the State field is changed to a drop-down selector populated with those states. So, until/when the Country is chosen, the State field may get changed. Quote Link to comment Share on other sites More sharing options...
philippagreen Posted December 2, 2015 Author Share Posted December 2, 2015 Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.