> ## Documentation Index
> Fetch the complete documentation index at: https://docs.starfy.io/savvy-theme/llms.txt
> Use this file to discover all available pages before exploring further.

# Product badges

Product badges control which badges appear on products (Sale, New, Sold out, Pre-order, custom) and how they're triggered.

> [!NOTE]
>
> In the **Shopify Theme Editor**, choose **Theme settings** **>** **Product badges**, edit the setting. Change appears in the preview. Click **Save** to publish it.

![Savvy Product Badges](https://mintcdn.com/starfy/2vy_hA8YZPMbkpWD/savvy-theme/images/savvy-product-badges.png?fit=max\&auto=format\&n=2vy_hA8YZPMbkpWD\&q=85\&s=82c40e2609ce2baed9892332290f5f82)

## **Sale badge**

* **Show sale badge:** Enable sale badge.
* **Sale badge type:** Sets what the badge displays when the sale badge is on:
  * **Sale text**
  * **Percentage off (%)**
  * **Amount off**
* **Show sale badge in price:** Shows the discount badge directly next to the price.

## **New badge**

* **Show new badge:** Enable new badge.
* **New badge period:** How long after a product is created the New badge continues to display, ranging from **1–100 days**.

## **Sold out & pre-order badges**

* **Show sold out badge:** Enable sold out badge.
* **Show pre-order badge:** Enable pre-order badge.

## **Custom badges**

* **Show custom badges:** Enable custom badges.
* **Custom badge source:** Choose where the custom badge label comes from: **Tag** or **Metafield**.
* **Badge tag prefix:**
  * When the source is **Tag**, set:
    * **Text field:** Any product tag starting with this prefix becomes a badge. *Example: badge:Best seller.*
  * When the source is **Metafield**, set:
    * **Badge metafield namespace:** Enter the metafield namespace. *Example: custom.*
    * **Badge metafield key:** Enter the metafield key. *Example: badge.*

> [!TIP]
>
> Custom badges via Tag are the simplest option for merchants without technical help — you just need to add a product tag. Metafield-based badges require someone comfortable setting [metafields](https://help.shopify.com/en/manual/custom-data/metafields).

## **Product card badges**

Control how badges are displayed on the product card when more than one badge is present.

* **Direction:** Set whether multiple badges stack vertically or line up horizontally. Choose **Vertical** or **Horizontal**.
* **Position:** Set where badges appear on the product image: **Top left** or **Top right**.
* **Size:** Set the badge size: **Small** or **Medium**.

> [!TIP]
>
> Keep badge count per product low (1–2 visible at once) — use Vertical direction only when a merchant needs to stack Sale + New + custom badges simultaneously; otherwise, Horizontal with Small size keeps product cards cleaner.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.