matt scarlett Posted November 16, 2011 Share Posted November 16, 2011 I want to add a 'County' bar in my address field. how do i do that? Link to comment Share on other sites More sharing options...
matt scarlett Posted November 16, 2011 Author Share Posted November 16, 2011 update: I've got into the 'State' drop down menu but how can i change the 'State' for 'County' ?? Link to comment Share on other sites More sharing options...
FutureLED Posted November 16, 2011 Share Posted November 16, 2011 In translations. BO>Tools>Translations>Font Office Translations change State to County Link to comment Share on other sites More sharing options...
matt scarlett Posted November 17, 2011 Author Share Posted November 17, 2011 This is just a total mess. I've got the 'County' part showing up in brackets at the end of the address. this is no good. it should be: Address City County Postcode instead i've got: Address City Postcode (county in brackets)??? On of that, i have to add an alias (name) to the address file. Is there any way to eliminate this option? Link to comment Share on other sites More sharing options...
matt scarlett Posted November 17, 2011 Author Share Posted November 17, 2011 anyone please? Link to comment Share on other sites More sharing options...
Dave L Posted November 17, 2011 Share Posted November 17, 2011 If you go to Shipping>Countries and edit United Kingdom you can change the layout of the address. You could try different options until you find the layout you want. Regarding the Assign an address title, have you considered changing the wording rather than deleting it. You could have something like Create a nickname for this address like 'home' or 'work' for future reference. You can to this in Translations as you did for states. If you must delete it I think you can do this in your themes address.tpl file. Around line #268 you should find <p class="required text" id="address_alias"> <label for="alias">{l s='Assign an address title for future reference'}</label> <input type="text" id="alias" name="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{else}{if isset($address->alias)}{$address->alias|escape:'htmlall':'UTF-8'}{/if}{if isset($select_address)}{else}{l s='My address'}{/if}{/if}" /> <sup>*</sup> </p> Back up your address.tpl first in case this doesn't have the desired effect. Don't forget to force compile after making changes to a .tpl file so the changes get implemented. 1 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