Announce restocked products with a storefront toast

Let shoppers know when selected products are available again with a short storefront announcement.

When a product people asked about comes back, a short note on the storefront lets visitors know without sending a newsletter.

When a product in the categories you choose is back in stock, can be bought and is shown in the shop, this routine publishes a toast naming it. The toast is available for two days, and each time it appears it closes after ten seconds. Display limits in the shopper’s browser, and a popup from another routine, can stop it showing on a given page.

The routine checks stock when it publishes the toast, not afterwards. If the product sells out again, the published toast can remain eligible to appear until it expires. You can remove it sooner from Activity > Storefront changes. One toast from this routine is live at a time, so a product restocked while it’s running isn’t announced separately.

Before you turn it on

When you add this routine, you’ll be asked to choose the categories to announce.

Only products visible in the shop are announced. Hidden products and products shown only in search results are skipped.

If you use another routine to restore product visibility after restocking, remember that both routines run independently. The announcement may be skipped if the product is still hidden when its conditions are checked.

What this routine does

WhenA product is back in stock
Only ifProduct stock status and Product purchasable and Catalog visibility
ThenShow a toast message

Requirements

  • Store Routines 1.1.0 or later

You'll choose the categories this routine applies to after adding it.

Store Routines reviews every routine on your store before importing it, and imports it turned off.