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. How to add a list of values to a metafield condition
  • 2. How labels/badges display when using a List of Values metafield
  • 3. What to expect
  1. FAQs

Using a List of Values Metafield to Display Labels/Badges

PreviousHow to Create a Label or Badge that Shows Product Metafield Content AutomaticallyNextDisplay a Badge Next to the Product Price

Last updated 8 days ago

You want to use a metafield with multiple values, such as a Material metafield with values like "Wood," "Wool," "Cotton," and "Plastic." This allows you to control when a label or badge appears on your products. However, you are not sure how to set it up.

This guide will help you:

âś… Add a list of values to a metafield condition

âś… Understand how labels/badges display when using a List of Values metafield

Learn more about how to use Metafields in the BSS: Product Labels & Badges app in this article: How to Use Product Metafields to Customize Label/Badge Display?


1. How to add a list of values to a metafield condition

Follow these simple steps:

  1. In the Condition settings, select Product condition → With specific metafield(s)

  2. Click Add metafield(s)

  3. Choose a metafield with a List of values.

    Learn more about how to define a Shopify metafield with a list of values in this article: How to Create Product Metafields in Shopify: A Step-by-Step Guide

  4. Click into the first input box and add a value (for example:Wood).

  5. To add more values, click Add item. A new input field will appear. Now add value in the new field (for example: Wool, Cotton, etc.).

  6. When you're done, click Save.

Tip: To remove a value, click the X icon next to value.


2. How labels/badges display when using a List of Values metafield

đź’ˇGeneral rule: A product only needs to match at least one value from the list of values you set for a metafield to satisfy that metafield.

Scenario 1: Only one metafield

Example 1:

  • You create a Material metafield condition with values: Wood, Wool, Cotton, Plastic.

  • Product A has Material values: Wool, Water.

→ Product A matches (because Wool is included), so the label/badge will display.


Scenario 2: Multiple metafields

You can choose how metafield conditions are matched:

  • Matching Option: Must satisfy all metafield → The label/badge appears only if all metafields are satisfied.

  • Matching Option: Just need to satisfy 1 of all metafields → The label/badge appears if any metafield is satisfied.

Example 2:

  • You create a Material metafield condition with values: Wood, Wool, Cotton, Plastic.

  • You create a Age metafield condition with values: Adult, Kids.

Product A has:

  • Material: Wool, Water

  • Age: (empty)

→ Matching Option: Must satisfy all metafield → Label/badge does not display (because Age is empty and doesn't match).

→ Matching Option: Just need to satisfy 1 of all metafields → Label/badge displays (because Material matches Wool).


3. What to expect

Once you've set everything up, your label/badge will automatically appear on the correct products in your store based on the conditions you defined.