I have updated Magento 2.3.3 after that I'm getting the error in region and region_id on the checkout page. So I need to remove the _required class in the checkout shipping form.

Please refer attached file for reference.

enter image description here


You can make the region field optional from admin, follow below steps.

Step 1

  • Login to the back end of Magento 2.
  • On the Admin sidebar, navigate to Stores > Settings > Configuration.
  • Under the panel of General, select General.
  • Scroll down to explore the State Option section.

Step 2

In the State Option list:

  • Choose the country where the State/ Region is required.
  • In the box of Allow to Choose State if it is Optional for Country, select Yes if the state field is not compulsory including the optional State field, select No if the state field is not compulsory but omitting the State field.

Click Save Config. to save all the process and flush cache and check.

| improve this answer | |
  • Thank you . It's working for me. – Priya Jan 3 at 8:38
  • @Priya, Happy Coding..! – Sanjay Gohil Jan 3 at 8:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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