Magento: Remove the region from address form

Tweet about this on TwitterShare on LinkedInShare on Google+Share on FacebookEmail this to someone

Today I worked on task that required the region filed to be removed from all Magento address forms. I found some Magento modules that were doing the trick, but I also wanted to delve a bit more deeper and to see if I can do this by configuration from Magento admin. Luckily in the most recent version of the platform ( Magento CE 1.9 ) this is possible.

By some simple actions in the Magento admin you will be able to exclude the region field from:

  • Customer add / edit address form
  • Customer register form
  • Billing and Shipping address form on the checkout page

Below I am going to show 2 different solutions how to hide the region filed. The first is more suitable for Magento admins / store owners and the second is something that the developers can use in their data upgrade scripts.

For the both example below I assume that we have to remove the region if the country is Germany.
Continue reading “Magento: Remove the region from address form”

Tweet about this on TwitterShare on LinkedInShare on Google+Share on FacebookEmail this to someone