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

  1. In Combio, open Option display and click Global settings (or Settings → General → Open Global settings).
  2. Open the Badges section.
  3. Check the badges you want and set their numbers.
  4. Click Save.
BadgeA value gets it whenShoppers see
On saleIts product's compare-at price is higher than its price.Sale
Low stockIts 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
NewIts product was published on your store within New for this many days after publishing: 1 to 365 days, 30 by default.New
Star ratingIts 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

Still need help?

Our team answers by chat and email, usually within one business day.

Email support