0

I have added additional country regions to Magento's directory_country_region and directory_country_region_name tables. My understanding is that when a country is selected for which regions are stored then a drop down will automatically be added to the "create account" form in the cart when that country is selected. The drop down does appear for countries that are already listed in the regions tables. However, if the country for which I have just added new regions is selected then there is just a plain text input to type the region name/code into.

I have added the country to the "State is required for" field in config. The new region IDs dont start exactly where the existing ones finish up. The existing ones go as fat as approx 480 and I've started at 600 - does that matter?

Thanks a lot

1 Answer 1

0

It doesnt matter where you start numerically, as long as after current obviously, and make sure you match in both tables.

Take a look at this article as gives an example you can follow:

http://www.webshopapps.com/blog/2011/04/adding-new-regionsstates-to-your-magento-installation-2/

I just tried this out on 1.9.0.0 and works fine, didnt have to change anything in admin at all.

enter image description here

1
  • Thanks @KarenBaker. We went it some plugin or other in the end
    – Shane
    Commented Apr 1, 2015 at 9:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.