State Options

The State Options configurations provide an ability for the admin user to configure if the state value is required for specific countries. For countries where the state is not required, the field can be omitted entirely from the address or included as an optional field.

Magento 2 state options configuration support:




State is Required for


Determines each country where State/Province is a required entry.

Allow to Choose State if it is Optional for Country


The settings can be set to one of the following options:

  • Yes - In countries where the state field is not required, it includes the State field as an optional entry.

  • No - In countries where the state field is not required, it omits the State field.

Set up the state options

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. Under General in the left panel, choose General.

  3. When complete, click Save Config.

  4. Flush cache storage:

Caching Note

For the changes with State Options to appear on the front-end:

1.On the Admin sidebar, go to System > Tools > Cache Management

2. Choose Flush Cache Storage.

Last updated