BSS Product Labels & Badges
  • About app
  • How to create a Label?
  • How to create a Badge?
  • How to create a Label Group?
  • Integration
    • LAI Product Review Integration Guide
  • FAQs
    • How to Provide Your Store's Collaborator Code
    • How to Approve Our Collaborator Request
    • How to create a text label/badge with custom style?
    • How to redirect customers after clicking on label/badge
    • What to do when some of the labels are appearing in places they should not?
    • Why are the changes of labels not applied on my products?
    • How to convert the language in the label or badge on your on your multilingual site?
    • How to add 2 labels at the same time on certain products?
    • How to show labels beautifully on the desktop and mobile?
    • How to change colors of the label?
    • How to exclude the label from unexpected page(s) or block(s)?
    • How to remove leftover code of the Product Labels Pro app?
    • How to show badges out of product images?
    • How to show label/badge when product quantity = 0?
    • How to add the Sold Out label automatically?
    • Why doesn’t the label/badge appear when the product is out of stock?
    • Why can't I see the badge on the product image?
    • Why doesn't the app work?
    • Why are the labels/badges not visible constantly on the page(s)?
    • Why is the label/badge duplicated?
    • How to remove label automatically?
    • How to apply Labels/Badges based on Product/Customer tags?
    • How to show text hover effect on label/badge?
    • How to create labels for product variants?
    • Why after changing theme, labels/badges aren't displayed anymore.
    • Can I add multiple badges on a product?
    • What is Inventory Badge?
    • Can I exclude specific customers from seeing my badge?
    • Can I choose who can see my badge?
    • Can I set the badge below the Buy it now button?
    • How to change the effect the labels/badges show up in the online store?
    • How can I customize the position of badges?
    • How to Display Labels/Badges Only on Mobile Devices
    • How to display your inventory quantity on text labels?
    • Countdown Timer for Label/Badge
    • How to Use Product Metafields to Customize Label/Badge Display?
    • How to Create Product Metafields in Shopify: A Step-by-Step Guide
    • How to Use Variant Metafields to Customize Label/Badge Display
    • How to Create a Label or Badge that Shows Product Metafield Content Automatically
    • Using a List of Values Metafield to Display Labels/Badges
    • Display a Badge Next to the Product Price
  • General
    • How to enable app embed block?
    • Can I have a trial for BSS Product Labels & Badges app?
    • How to translate the app interface into other languages?
Powered by GitBook
On this page
  • 1. Step by step guide
  • 2. Pro Tips
  1. FAQs

How to Create a Label or Badge that Shows Product Metafield Content Automatically

PreviousHow to Use Variant Metafields to Customize Label/Badge DisplayNextUsing a List of Values Metafield to Display Labels/Badges

Last updated 21 days ago

Suppose you have 100 products using the same metafield — with each product having a different value — and you want to display that value on a label or badge. In that case, you can easily do this with just one label, instead of creating 100 separate labels or manually setting up each product.

This guide will walk you through how to set this up using Metafield Variables.

To learn more about Shopify Metafields and how to set them up, check out this article: How to Create Product Metafields in Shopify: A Step-by-Step Guide

Notes:

  • This feature applies to Text Label/Badge types that allow content customization.

  • This feature is only available on the Platinum Plan.


1. Step by step guide

Step 1: Navigate to the editing interface of the Label/Badge Text you have created.

Step 2: Scroll down to the Label content section → click Add Variable → select Metafield.

Step 3: Choose the Metafield you want to use. The label/badge content will automatically pull the value from the Metafield of each product.

Step 4: Save the changes and check the display on your Storefront.


2. Pro Tips

  • You can customize the font style and color of the Metafield content using the style settings available in the app.

  • You can use both Product Metafields and Variant Metafields.

  • If you use Variant Metafields, the label/badge will not display on the product card.

  • Metafield variable only works with metafields that have one value.

Editing Interface
Select Metafield Variable
Select a Metafield
Metafield Display in Preview
Metafield Display on the Online Store