Automatic badges

  1. OPTIS Color Swatch
  2. Global Settings


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 settings → Automatic badges


https://storage.crisp.chat/users/helpdesk/website/-/c/7/f/b/c7fbb95acdf62800/6bb87eee-1710-43f1-90ca-1e7dac_1bdtfns.png


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


For Low stock, set the stock threshold


https://storage.crisp.chat/users/helpdesk/website/-/4/1/4/9/414988b6c3660800/6adb3e05-3ba8-40c7-b35b-90750c_1mz2ou4.png


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


https://storage.crisp.chat/users/helpdesk/website/-/d/e/4/b/de4b332e0a403800/637d8449-8c0d-4ab2-983f-5ebec4_b0ujdj.png


Sold out and On sale need no extra setup.


  1. 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.


  1. Customize the appearance


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


  1. Click Save


A value can only show one badge at a time. If more than one automatic condition is true (for example a value is both low stock and on sale), only one badge shows.

Updated on: 25/09/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!