Remove Region Dropdown When No Regions

Remove Region Dropdown When No Regions
In OpenCart, addresses have a "Region" field. After the user has entered the country, the dropdown is updated to show the regions within that country. So far, so good.

However, for countries without regions, this function is a bit odd. If a country has no regions under it (e.g. Hungary or Singapore), then the dropdown seems to give users contradictory information, saying "Please select", and "No regions" at the same time. This can be very confusing for users.

This extension simply disables the region dropdown for countries that don't have any regions under them.

Installation v 3.0+ and Updates
  1. From OpenCart Admin > Extensions > Extensions Installer, upload the ocmod.zip file you have downloaded.
  2. After success message, go to OpenCart Admin > Extensions > Modifications, and click the Refresh button.


Frequently Asked Questions

  1. Does this extension work with my theme? It has been developed for OpenCart Default theme, and should work with most themes that use the same structure.
  2. Does this extension work with Journal 2 theme? Yes.
  3. Does this extension work with OpenCart 3.x? Yes.
  4. Where are the settings? There are none.
  5. I have an idea. Great! Post it as a reply to this thread.
  6. I am having a problem with this extension. Please click Get Support on this page.


Support
Support Thread

If you need me to do a paid customization for your theme, PM me at http://forum.opencart.com/memberlist.php?mode=viewprofile&u=5746

I hope you enjoy this extension. Please donate to enable me to maintain and further develop it.

What customers say about Remove Region Dropdown When No Regions

petrosk
Works as advertised! Kudos to the developer!
~petrosk




Download
  • Developed by OpenCart Community
  • 12 Months Free Support
  • Documentation Included

Rating

Compatibility
3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.1.0.0_b, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3

Last Update
10 Jul 2020

Created
17 Jul 2018
309 Downloads
3 Comments
OC2PS
OC2PS
Member since: 25 Jul 2010

View all extensions Get Support