Jump to content

Change country to all my clients


alexis_gyf

Recommended Posts

Hello

Thanks for your answer but i don't have too much knowledge on database editing.

I have 3 countries with ids 9, 247 and 248 and i want to keep only the id 9

 

I am going to PREFIX_address table and click on edit (or edit inside) link and then type inside these?

UPDATE ps_address SET id_country = 9 WHERE id_country = 247

UPDATE ps_address SET id_country = 9 WHERE id_country = 248

 

Thanks

Edited by alexis_gyf (see edit history)
Link to comment
Share on other sites

1 hour ago, endriu107 said:

If you want keep only one country you can do only this one query UPDATE ps_address SET id_country = 9

On YouTube you will find tutorial how to run query in database.

I change it on sql but on dashboard on address customer i see the old country selected.

Is anything else that i have to change?

Thanks

Edited by alexis_gyf (see edit history)
Link to comment
Share on other sites

19 hours ago, alexis_gyf said:

I change it on sql but on dashboard on address customer i see the old country selected.

Is anything else that i have to change?

Thanks

There is a bunch of reasons.

  1. Cache
  2. A scenario where the address is injected with words in a separate table so any alteration in ps_address table will not change a thing.

Could you please let us know what did you do to solve it and what was your case with a little bit more details?

Thanx mate

Link to comment
Share on other sites

45 minutes ago, Kogkalidis said:

There is a bunch of reasons.

  1. Cache
  2. A scenario where the address is injected with words in a separate table so any alteration in ps_address table will not change a thing.

Could you please let us know what did you do to solve it and what was your case with a little bit more details?

Thanx mate

Hello

Clear cache, delete cache folder, clear cache browser

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...