Show badges on swatches
Flag values that are on sale, low in stock or new, and show star ratings from your review app, right on the swatches.
Updated Dec 2, 2026
Badges point shoppers to the value worth a look: the color that is on sale, almost gone or just arrived, or the one other shoppers rated best. Every badge is off until you turn it on.
Turn badges on
- In Combio, open Option display and click Global settings (or Settings → General → Open Global settings).
- Open the Badges section.
- Check the badges you want and set their numbers.
- Click Save.
| Badge | A value gets it when | Shoppers see |
|---|---|---|
| On sale | Its product's compare-at price is higher than its price. | Sale |
| Low stock | Its product has this many units or fewer in stock (all variants together). Set the number in Show at this many units or fewer: 1 to 100, 5 by default. | Only 3 left |
| New | Its product was published on your store within New for this many days after publishing: 1 to 365 days, 30 by default. | New |
| Star rating | Its product has a rating from your review app. | ★ 4.6 |
A few rules decide which badges show:
- Low stock only counts products whose variants all track inventory in Shopify. Other products never get it.
- Sold-out products only keep their star rating.
- When a value earns several badges, they come in this order: sale, low stock, new, rating.
How badges look
Badges show on product pages, and their look depends on the option's template:
- Swatches such as Circle swatch, Square swatch or Image swatch have no room for words. They get a small dot in the corner for their first badge (red for sale, orange for low stock, blue for new). The tooltip, when the template shows one, names the badge.
- Buttons and swatch cards (Pill button, Swatch card (vertical), Radio button list…) show the badge's words under the value's name, up to two badges.
- Dropdowns show no badges.
Product card swatches show no badges. With a tooltip turned on, the tooltip still names them.
Star ratings from your review app
Review apps such as Judge.me, Loox, Okendo, Yotpo, Stamped, Fera, Junip and REVIEWS.io save each product's rating in Shopify's product rating metafields. Combio reads them there, so there is no extra script on your store. Products without reviews show no rating.
Most of these apps fill the metafields on their own. In Stamped, turn them on in Settings → Syndication → Shopify Metafields. Ali Reviews, AG Reviews, Trustoo and Rivyo keep ratings in their own metafields only, so their ratings don't show on swatches; if you use one, chat with us.
Ratings show on buttons and swatch cards only. Round swatches have no room for them (a tooltip still shows the rating), so use a pill or card template for an option where ratings matter. The same switch is also in Settings → Integrations → Product reviews, as Star rating on swatches.
Change the words
The words come from Combio's theme content, so they follow the language of your storefront: Sale, Only [count] left, New and Sold out. Edit them in the theme editor's theme content. In the low-stock text, keep [count]: it is replaced with the number of units left.
Change badge colors
The word badges take their colors from CSS variables you can set in the global custom CSS:
.group {
--cl-sale-bg: #111111;
--cl-sale-color: #ffffff;
}Use --cl-low-bg and --cl-low-color for low stock, and --cl-new-bg and --cl-new-color for new.
Was this article helpful?
Related articles
- Global settings for every templateSet the tooltip, two-color split, swatch order, sold-out products, badges and custom CSS once for every template, on product pages and cards.
- Choose a template for each optionPick each option's style from the catalog (names, colors or product images), used on product cards too unless you customize product cards.
- Add custom CSS to swatchesFine-tune how swatches look with CSS for your whole store or for a single group, inside the swatches where your theme's CSS does not reach.