Byte Digital Themes

Badges

Sale, sold out, new, preorder, and 2 custom tag badges — with global colour and format settings.

Updated 2026-05-09

Theme settings → Badges.

Built-in badges

Dost renders badges on product cards, the product page, and quick view based on real product state plus tag matching.

BadgeTriggers when…
Salecompare_at_price > price on the variant
Sold outProduct not available
NewPublished within the last N days (configurable, default 30)
PreorderProduct has the pre-order tag
Custom 1Product has the tag specified in Custom 1 tag
Custom 2Product has the tag specified in Custom 2 tag

Each badge has its own background colour and text colour controls. They share the same border-radius (set via Theme settings → Style → Radius → Badge).

Sale badge format

Three formats:

  • Percent off (e.g. −20%) — auto-calculated
  • Amount off (e.g. −$10) — auto-calculated
  • Custom text (e.g. Sale) — static label

The Price block on the product page can independently override this format — see Price block.

"New" threshold

Theme settings → Badges → "New" badge max age (days). Default 30. Set to 0 to disable the New badge globally without unticking it on every section.

Excluding collections from "New"

Theme settings → Badges → Exclude collections from New badge (collection list picker). Useful for a "Sale" or "Archive" collection where you don't want NEW labels — even for recently re-published items.

Custom badges

Two slots, each with:

  • Tag — the product tag that triggers the badge (case-insensitive)
  • Label — what shows on the badge
  • Colour

Common uses:

  • bestseller → "Bestseller"
  • eco-friendly → "Eco"
  • limited-edition → "Limited"

Stacking rules

The card and PDP enforce a priority so badges don't pile up:

  1. Sold out wins over Sale, New, Preorder unless the product is also a Preorder (preorder badge wins to communicate availability intent).
  2. Sale and New are mutually exclusive — Sale wins if both apply.
  3. Custom 1 / 2 stack alongside the primary badge.

Tips

  • The accent colour from Theme settings → Colors is used as the default sale-badge background. Override only when you want a non-accent sale colour.
  • Keep custom badge labels under 10 characters — anything longer wraps and looks cluttered.
Need a hand? Contact support.