For beginners & experts

How to add Indian states in magento frontend without tweaking database or coding?

Today we will demonstrate how to display only India and her respective states on magento store frontend. Current version of magento has made it super easy to achieve this task, unlike previous versions where users had to wear developer's cap and tweak database tables through phpmyadmin and scary sql queries which often resulted in error as one solution does not fit on every control panel.

Here lets take a quick look on how to do this.


Step 1: Log in into your mangeto backend panel. Navigate to (a).stores > (b).configuration. Follow the pic given below.


screen 1


Step 2: On configuration page, Navigate to (c). General > Go to default country, > (d). uncheck the check box and select India (or any country of your choice) > (e). Allow countries, select "India".


screen 2


Then after you have only India as the default country on your store front-end and rest of the extra countries will disappear and like wise in state field only India states will appear.


You can write to use if you face tough time in following these steps.