Jump to content

How To Make City Dropdown?


yusufislam45

Recommended Posts

It is not a simple solution, here is just a general guidance.

 

You will need to create a new table in database to hold the cities for each state/province if the country contains state/provinces.

Just like the way states/province is managed, you will have the dependence of Country <== State/Province <== City

 

But if your store only serves one country and it happens the country does not have state/province, then you can use "State/Province" for cities.

Link to comment
Share on other sites

  • 4 years later...

This will be a long process for layman.  I have a complete module that solve this for you.  Both on city and zip code drop-down.  And it will display everywhere an address is found.  It also have a feature to allow customers to add their city and zip code if is not listed.  Well,  you can disable the feature if you don't want the customer to add their own city and zip code.  I will send the link here if you want or can message me if you want too. ..

Link to comment
Share on other sites

  • 6 months later...
  On 1/5/2021 at 11:24 AM, Mr. Trice said:

This will be a long process for layman.  I have a complete module that solve this for you.  Both on city and zip code drop-down.  And it will display everywhere an address is found.  It also have a feature to allow customers to add their city and zip code if is not listed.  Well,  you can disable the feature if you don't want the customer to add their own city and zip code.  I will send the link here if you want or can message me if you want too. ..

Expand  

You can checkout the demo here> 

Backoffice = https://demo.faddons.com/prestashop/admin914gpvxwo
 

email: demo@demo.com

pass: demodemo

the module is hooked under international menu

Front office =  https://demo.faddons.com

 

the module also has a function to add a text to display at the front office incase you want the customer to add his/her own city and zipcode if not listed.

Link to comment
Share on other sites

  • 2 years later...
  On 7/26/2021 at 9:54 PM, Mr. Trice said:

You can checkout the demo here> 

Backoffice = https://demo.faddons.com/prestashop/admin914gpvxwo
 

email: demo@demo.com

pass: demodemo

the module is hooked under international menu

Front office =  https://demo.faddons.com

 

the module also has a function to add a text to display at the front office incase you want the customer to add his/her own city and zipcode if not listed.

Expand  

You should update information.

Link to comment
Share on other sites

  On 9/13/2023 at 12:15 AM, Nickz said:

Well not sure if he reads here: Last visited October 29, 2021

Expand  

I saw, I asked on the Addons page as well. Prestashop should remove these modules since they do not have a tracking record of customer satisfaction or a response time, because if we purchase that and if so happens like 80% of modules to have small to large bugs and the seller in question isn't available anymore, then we cannot get our money back per the stupid European legislation for digital goods.

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...