For the complete documentation index, see llms.txt. This page is also available as Markdown.

Automatic badges

✨Demo product: Automatic badges (password: 1)

Automatic badges show a label on swatches based on a store-wide rule, with no manual assignment. Turn each one on in Global settings → Automatic badges.

This is different from the manual badges on the Variant badges page, which you assign value by value.

Badge types

Badge
When it shows
Setting

Sold out

The variant is out of stock (0 available)

No extra setup — just enable it

Low stock

The value's total stock is above zero and below a threshold you set

Threshold — a number from 1 to 9999 (default 5)

New

The product was created within the last N days

Days — a number from 1 to 365 (default 30)

On sale

The value's compare-at price is higher than its current price

No threshold — detected automatically from pricing

Each badge is turned on and configured independently — you can enable any combination of the four.

Set up a badge

1

Go to Global settingsAutomatic badges

2

Turn on the badge you want (Sold out / Low stock / New / On sale)

For Low stock, set the stock threshold

For New, set how many days after creation the badge should show

Sold out and On sale need no extra setup.

3

Choose what happens when a value already has a manual badge

  • Keep the manual badge — the manual badge keeps showing.

  • Override — the automatic badge replaces the manual badge while its condition is true, and the manual badge reappears once it isn't.

4

Customize the appearance

Set the badge text, text color, background color, position, and shape — the same options as a manual badge.

5

Click Save

Last updated