> For the complete documentation index, see [llms.txt](https://help.byinspiredlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.byinspiredlabs.com/product-page/product-information/custom-badges.md).

# Custom badges

Add up to four badges with your own text and colors to the Product information section.

The Custom badges block adds up to four small labels to the product page, like "Best seller", "Vegan" or "Free shipping". You choose the text and colors of each badge.

### 1. How to add the block

In the **Product information** section, click **Add block** and choose **Custom badges**. You can add one Custom badges block per section.

### 2. Block settings

The block has four badges: **Badge 1**, **Badge 2**, **Badge 3** and **Badge 4**. Each badge has the same settings:

* **Label:** the badge text. Leave it blank to hide the badge.
* **Background:** the badge background color. The default is transparent.
* **Text:** the color of the badge text.
* **Border:** the color of the badge outline.

{% hint style="info" %}
**Note:** Badge 1 and Badge 2 start with the sample labels "First badge" and "Second badge". Change them to your own text, or clear them to hide those badges.
{% endhint %}

#### Show different badges on each product

By default, a badge shows the same text on every product that uses this product template. To show text that changes per product, connect the badge's **Label** to a product metafield:

1. In your Shopify admin, create a product metafield (for example, a single line text metafield called "Badge") under **Settings > Custom data > Products**, and fill it in on your products.
2. In the theme editor, click the **Connect dynamic source** icon next to **Label** and choose that metafield.

Products where the metafield is empty don't show that badge.

{% hint style="info" %}
**Note:** Custom badges always show in the Quick add window too. For automatic Sale and Sold out badges, use the [Badges](https://help.byinspiredlabs.com/product-page/product-information/badges.md) block and [Theme settings > Badges](https://help.byinspiredlabs.com/theme-settings/badges.md).
{% endhint %}

{% hint style="info" %}
**Note:** Padding, section width, section header and color settings work the same in every section. See [Common settings](https://help.byinspiredlabs.com/section/common-settings.md).
{% endhint %}
