# Stock Options

With ScandiPWA, your catalog stock can be configured based on your preferences. Our theme will respect the settings and display the stock messages correctly on the storefront:

| SECTION                                                 | STATUS          | **DESCRIPTION**                                                                                                                                                                                                                                               |
| ------------------------------------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Set Items’ status to be In Stock When Order is Canceled | **SUPPORTED**   | The setting determines whether the items are returned to stock when an order is canceled.                                                                                                                                                                     |
| Decrease Stock When Order is Placed                     | **SUPPORTED**   | The setting adjusts the quantity on hand when an order is placed. Possible options: "yes" or "no".                                                                                                                                                            |
| Display Out of Stock Products                           | **SUPPORTED**   | If set to "yes", ScnadiPWA will display the products in the catalog that are no longer in stock.                                                                                                                                                              |
| Display X left Threshold                                | **IN PROGRESS** | <p>The "Only X left" notice will be displayed on the storefront when the quantity in stock reaches X. </p><p>Track the progress - <a href="https://github.com/scandipwa/base-theme/issues/1467"><https://github.com/scandipwa/base-theme/issues/1467></a></p> |
| Display Products Availability In Stock on Storefront    | **SUPPORTED**   | Displays an "In Stock" or "Out of Stock" message on the product page if the setting is set to **yes.**                                                                                                                                                        |

### To set general Stock Options <a href="#stock-options" id="stock-options"></a>

1. Access Admin > Stores > Settings > Configuration&#x20;
2. Expand the Catalog tab
3. Tap Catalog > Inventory > Stock Options
4. Edit your preferences.
5. Save Config.
6. Flush Cache Storage:

{% hint style="info" %}
**Caching Note**

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.0/catalog/managing-inventory/stock-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.
