Skip to content

Regions list in Directory module for India #12378

Closed
@amansrivastava

Description

@amansrivastava

States list is required in India for setting new tax (GST) implementation and for accuracy in shipping address.
This is list of regions need to be appended in InstallData in magento-directory module.
$data = [
['IN','AN','Andaman and Nicobar Islands'],
['IN','AP','Andhra Pradesh'],
['IN','AR','Arunachal Pradesh'],['IN','AS','Assam
'],['IN','BR','Bihar
'],['IN','CH','Chandigarh
'],['IN','CT','Chhattisgarh
'],['IN','DN','Dadra and Nagar Haveli
'],['IN','DD','Daman and Diu
'],['IN','DL','Delhi
'],['IN','GA','Goa
'],['IN','GJ','Gujarat
'],['IN','HR','Haryana
'],['IN','HP','Himachal Pradesh
'],['IN','JK','Jammu and Kashmir
'],['IN','JH','Jharkhand
'],['IN','KA','Karnataka
'],['IN','KL','Kerala
'],['IN','LD','Lakshadweep
'],['IN','MP','Madhya Pradesh
'],['IN','MH','Maharashtra
'],['IN','MN','Manipur
'],['IN','ML','Meghalaya
'],['IN','MZ','Mizoram
'],['IN','NL','Nagaland
'],['IN','OR','Odisha
'],['IN','PY','Puducherry
'],['IN','PB','Punjab
'],['IN','RJ','Rajasthan
'],['IN','SK','Sikkim
'],['IN','TN','Tamil Nadu
'],['IN','TG','Telangana
'],['IN','TR','Tripura
'],['IN','UP','Uttar Pradesh
'],['IN','UT','Uttarakhand
'],['IN','WB','West Bengal']
];

Currently, it is a manual task and a must have requirement in stores running in India on Magento.
It will be very useful if it comes default.

Preconditions

  1. Magento 2
  2. A Product created.

Steps to reproduce

  1. Add the Product do cart.
  2. Go to Checkout.
  3. Select India in Country drop-down menu.

Expected result

State/Province should be mandatory drop-down field with appropriate values.

Actual result

State/Province is not mandatory text field.

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions