Giovanni Radice Posted September 26, 2019 Share Posted September 26, 2019 Hi everybody! I'm trying to modify the default selected Country from Italia to "-" unselected... Prestashop assign the default selection to the e-commerce / shop's default country, I presume... in the firefox's analyzation tool I've found this row: <option value="10" selected="selected">Italia</option> and the parameter to change is selected="selected", I presume... I've the 1.6.1.3 version and I think the files interested are authentication.tpl, order-opc-new-account.tpl and order-opc-new-account-advanced.tpl Thanks for any help! Have a nice day Link to comment Share on other sites More sharing options...
NemoPS Posted September 26, 2019 Share Posted September 26, 2019 If you just need to change the default country, it's in preferences, store contacts. If you just want to leave - in the form, be aware that there are several instances of it, like order-opc-new-account.tpl and authentication.tpl 1 Link to comment Share on other sites More sharing options...
Giovanni Radice Posted September 26, 2019 Author Share Posted September 26, 2019 Many thanks for your answer! I wonder how to change this default setting in these tpl files... what I have to do to change "Italia" with "-" ? Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted September 27, 2019 Share Posted September 27, 2019 Actually it might be statesManagement.js selecting the default one. It's in the theme folder, js. 1 Link to comment Share on other sites More sharing options...
Giovanni Radice Posted September 27, 2019 Author Share Posted September 27, 2019 Thanks! I'll give a try 😉 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