# Hide products when out of stock

Products that are out of stock will not be shown in the menu: turn it on for a product item or a link to a specific product.

Keep sold-out products out of your menu without editing it every time stock runs out. When the product is out of stock, the item simply doesn't show on your storefront; when it's back in stock, the item comes back.

It works on two kinds of items:

* a **Product** item (Menu layout **Product**), and
* a **Text link** item whose **Link type** is **Specific product**.

## Turn it on

**In the new editor:**

1. Click the product item in the preview, or find it in the **Layers** tree. Its card opens under the tree.
2. Scroll the card down and turn on **Hide products when out of stock**, below **Product params**.

   ![Screenshot: The new editor: the product item selected, its card with the Hide products when out of stock switch outlined in red, and the product item outlined in the preview]()

3. Click **Save** (or **Save & Publish** on a live menu).

**In the classic editor:**

1. Click the item in the preview, then the pencil icon.
2. Scroll down the options and turn on **Hide products when out of stock**.

   ![Screenshot: The classic editor with a product item selected: the Hide products when out of stock switch near the bottom of its options on the left, and the product item in the preview, outlined in red]()

   ![Screenshot: Hide products when out of stock switched on, below Extra text lines and Product params]()

3. Click **Save** (or **Save & Publish** on a live menu).

:::note
* The preview in the editor still shows the item, so you can keep editing it. Check the result on your storefront.
* This option is on the **Premium** plan and above.
:::
