hennaboy Posted July 25, 2020 Share Posted July 25, 2020 Prestashop 1.7.6 Interesting problem today. Customer having trouble registering to make an order. I am a UK based shop they are a USA based customer. The problem was there was no counties in the drop down to select from. Now I can see these in the database marked for country ID 21 so why were they not available? I thought to assist the customer I would add the address in their account. My mistake. When adding an address when I selected USA the county box disappears but upon trying to submit the address it throws the error that a county is required. In the end I had to go into phpmyadmin and create the address direct into the ps_address table. Not ideal. So, where am I looking to resolve this? Surely if the counties for the country are listed then they should appear in the dropdown on the website. Not only that if I need to add an address in the admin why is the county box being taken away when I select the country USA. Link to comment Share on other sites More sharing options...
musicmaster Posted July 26, 2020 Share Posted July 26, 2020 One of the properties of a country is "contains_states" in the database. It is near the bottom when you modify a country in the backoffice. An alternative cause of your problem is that your database doesn't contain the states of the US. In that case you should load the country pack for the US. Link to comment Share on other sites More sharing options...
hennaboy Posted July 26, 2020 Author Share Posted July 26, 2020 Thanks for your reply. Led me to the correct place in the backoffice. All states were present but disabled. 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