# State Options

<div align="left"><img src="https://3993793926-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJEKoY_RLJk3C3Fcnu6%2F-MKAp4OHqU-3exwbJPC8%2F-MKEz34EdQLuLYOiF180%2Fsupported2.png?alt=media&#x26;token=b9b5e5d0-1000-4f93-af86-6197df550798" alt=""></div>

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: <a href="#magento-2-state-options-configuration-support" id="magento-2-state-options-configuration-support"></a>

| **SETTING**                                         | **STATUS**    | **DESCRIPTION**                                                                                                                                                                                                                                                                                                             |
| --------------------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| State is Required for                               | **SUPPORTED** | Determines each country where State/Province is a required entry.                                                                                                                                                                                                                                                           |
| Allow to Choose State if it is Optional for Country | **SUPPORTED** | <p>The settings can be set to one of the following options:</p><ul><li>Yes - In countries where the state field is not required, it includes the State field as an optional entry.</li><li>No - In countries where the state field is not required, it omits the State field.                                    </li></ul> |

### Set up the state options <a href="#set-up-the-state-options" id="set-up-the-state-options"></a>

1. On the *Admin* sidebar, go to **Stores** > *Settings* > **Configuration**.
2. Under **General** in the left panel, choose **General**.
3. Expand ![Expansion selector](https://docs.magento.com/user-guide/images/images/btn-expand.png) the **State Options** section and set your preferences.
4. When complete, click Save Config.
5. Flush cache storage:

{% hint style="info" %}
**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.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.scandipwa.com/v5.0.5/basic-configuration/store-details/state-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
