# How to add product badges

<figure><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2FeNZhQrPuhD4CYaCgG7eU%2Fimage.png?alt=media&#x26;token=200d72de-599a-4d21-837e-64e8e409006a" alt="A series of product grid items, some of the items have badges such as &#x27;Bestseller&#x27; and &#x27;SPF&#x27; overlaying the product image in the top left corner."><figcaption><p>Custom product badges on the Primavera theme's Gloss demo. Here you can see <strong>Bestseller</strong> and <strong>SPF</strong> as custom badges.</p></figcaption></figure>

### Step 1: Enable custom badges in the global settings

* In the customizer, navigate to global Theme Settings > Product Card
* Enable the **Show custom badges** option

### Step 2: Create a custom metafield for the badge content

* Navigate to **Settings > Custom data > Products**
* Select **Add definition**
* Enter a title, e.g. **Badges**
* Click the 'custom.badges' text to unlock the namespace and key field. Under namespace and key, enter `theme.badges`
* Under Select type, choose Single line text&#x20;
* Select List of values
* *Optional*: You can choose to limit to preset choices, e.g. **New**, **Editor's Choice**, etc. This is useful if you want to prevent typos or keep consistent badges.
* When ready, hit **Save**
* Now, for any product you want to add badge(s) to, navigate to the product in the Admin, scroll down the page and add each badge as a new item:

<figure><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2FieSFeSY9Ma1ivnP8QdEb%2Fimage.png?alt=media&#x26;token=f713572e-11ae-4217-865e-a67ec72d2459" alt="Screenshot of the Shopify admin showing a form field for Badges, a single line text form field. The field value is &#x27;New&#x27;."><figcaption></figcaption></figure>
