websitebuilder Posted September 15, 2014 Share Posted September 15, 2014 At present, when a customer adds an address the default country selected is United States. How do I change this to United Kingdom? I can't seem to find the answer. Can anyone help? Link to comment Share on other sites More sharing options...
Paulito Posted September 15, 2014 Share Posted September 15, 2014 Hello To do this go to: Back office > Localization > Localization > http://screencast.com/t/OOcrDcMAuq Paul Link to comment Share on other sites More sharing options...
websitebuilder Posted September 15, 2014 Author Share Posted September 15, 2014 Ive tried this but it still does as United States when the customer adds an address. Link to comment Share on other sites More sharing options...
El Patron Posted September 15, 2014 Share Posted September 15, 2014 can you provide front office url please? also what is your full ps version? Link to comment Share on other sites More sharing options...
websitebuilder Posted September 15, 2014 Author Share Posted September 15, 2014 I am still constructing it so have maintenance mode enabled. If you could send me your IP I can give you access. Thanks Link to comment Share on other sites More sharing options...
El Patron Posted September 15, 2014 Share Posted September 15, 2014 I am still constructing it so have maintenance mode enabled. If you could send me your IP I can give you access. Thanks that would be to much bother. what is ps version? (always post this) http://forge.prestashop.com/browse/PSCFV-8277 Link to comment Share on other sites More sharing options...
websitebuilder Posted September 15, 2014 Author Share Posted September 15, 2014 Sorry, 1.6 Link to comment Share on other sites More sharing options...
El Patron Posted September 15, 2014 Share Posted September 15, 2014 Sorry, 1.6 1.6.?.? there are differences with each version, 1.6 is major version only. Link to comment Share on other sites More sharing options...
websitebuilder Posted September 15, 2014 Author Share Posted September 15, 2014 1.6.0.8. New to this sorry Link to comment Share on other sites More sharing options...
El Patron Posted September 15, 2014 Share Posted September 15, 2014 default theme or custom theme? Link to comment Share on other sites More sharing options...
websitebuilder Posted September 15, 2014 Author Share Posted September 15, 2014 A custom theme but the my account section is the same as the prestashop standard. Link to comment Share on other sites More sharing options...
El Patron Posted September 15, 2014 Share Posted September 15, 2014 A custom theme but the my account section is the same as the prestashop standard. well the .tpl file is not the same as default... good try... have you contacted the developer of custom theme? Link to comment Share on other sites More sharing options...
websitebuilder Posted September 15, 2014 Author Share Posted September 15, 2014 I have and they haven't come back to me and its been a few days. I only have a little knowledge but I presume the system is telling it to pick a country from somewhere selected in the back office. Is it possible to override this and change the code to pick the United Kingdom id? Link to comment Share on other sites More sharing options...
El Patron Posted September 15, 2014 Share Posted September 15, 2014 I have and they haven't come back to me and its been a few days. I only have a little knowledge but I presume the system is telling it to pick a country from somewhere selected in the back office. Is it possible to override this and change the code to pick the United Kingdom id? ok works on default bootstrap and on 'quality' theme like leo digital you would need to compare the address.tpl of your theme with boot-strap default theme. at the very end of boot-strap address.tpl you see something like this. (back up before making any changes) {strip} {if isset($smarty.post.id_state) && $smarty.post.id_state} {addJsDef idSelectedState=$smarty.post.id_state|intval} {else if isset($address->id_state) && $address->id_state} {addJsDef idSelectedState=$address->id_state|intval} {else} {addJsDef idSelectedState=false} {/if} {if isset($smarty.post.id_country) && $smarty.post.id_country} {addJsDef idSelectedCountry=$smarty.post.id_country|intval} {else if isset($address->id_country) && $address->id_country} {addJsDef idSelectedCountry=$address->id_country|intval} {else} {addJsDef idSelectedCountry=false} {/if} {if isset($countries)} {addJsDef countries=$countries} {/if} {if isset($vatnumber_ajax_call) && $vatnumber_ajax_call} {addJsDef vatnumber_ajax_call=$vatnumber_ajax_call} {/if} {/strip} Link to comment Share on other sites More sharing options...
websitebuilder Posted September 15, 2014 Author Share Posted September 15, 2014 Have just checked and they are exactly the same. Link to comment Share on other sites More sharing options...
El Patron Posted September 15, 2014 Share Posted September 15, 2014 Have just checked and they are exactly the same. clear your browser cookie for that domain, and re-visit Link to comment Share on other sites More sharing options...
Paulito Posted September 15, 2014 Share Posted September 15, 2014 Hello You have UK Localization pack installed? Paul Link to comment Share on other sites More sharing options...
websitebuilder Posted September 15, 2014 Author Share Posted September 15, 2014 El Patron - I have cleared all cookies and still the same. Paulito - Yes, I have the British pack installed. So I think I may have to admit defeat on this one. Something which will at least help would be if I could change the order of the fields. If I wanted them to appear in the below order, what would I need to change: First Name Last Name Country Postcode / Zip Code Address Address Line 2 City State Home Phone Mobile Phone Link to comment Share on other sites More sharing options...
websitebuilder Posted September 15, 2014 Author Share Posted September 15, 2014 Sorry guys, just figured it out. Although when you select United States the state appears underneath the phone number. How do I move it to sit with the other address fields? Link to comment Share on other sites More sharing options...
zeki893 Posted April 24, 2015 Share Posted April 24, 2015 Mind sharing how you figured it out? I'm still trying to figure out how to select default country in address.tpl 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