Page cover

🧩Product Metafields

πŸ”Ž What Are Shopify Product Metafields?

"Shopify metafields let you store additional, specialized information about your productsβ€”beyond what's available in the standard admin fields. They’re useful for showing things like material composition, potency, size details, or ingredient breakdowns."

β‡’ DECO uses product metafields to generate dynamic labels and badges automaticallyβ€”so all using the same designβ€”just powered by different metafield values.

πŸ—‚οΈ Common Use Cases

1. Show Values Of Product Meta Field Dynamically

🌿 Cannabis Products

  • Show THCa flower potency or strain type on product labels

  • Display CBD/THC ratios dynamically

πŸ•―οΈ Handmade Goods

  • Highlight soy wax percentage for candles

2. Show Exact Values Of Product Meta Field

πŸŽ€ Skincare Products

  • Display the exact skin type that the product suits

  • Based on what's written in-app

βœ… Preparations

Before starting, you need:

For example:

✨Step-by-step Setup

We'll walk through two use cases:

  1. Show dynamic metafield value if it exists

  2. Show specific metafield values only

πŸ” Shared Steps for Both Use Cases

πŸ”Ή Step 1: Create or Select Your Label

πŸ‘‰ Open DECO β†’ Create a new Text Label/Badge, or choose an existing one.

This label/badge will act as a dynamic template using metafield data

πŸ”Ή Step 2: Connect Metafield with AutoText

πŸ‘‰ Go to Label Content β†’ Click AutoText πŸ‘‰ Scroll to Product Metafields β†’ Tick to choose your metafield key (e.g., potency_percentage) πŸ‘‰ Click "Select" to confirm

🎯 Use Case 1: Show Values Of Product Meta Field Dynamically

πŸ”Ή Step 3: Add Product Metafield

  • Go to the Product tab in DECO (next to the Design tab)

  • Scroll to the Metafield section >> Click + Add Metafield >> Tick to choose the Product Metafield Key >> Hit on "Select" button

  • After selecting your product metafield key >> Choose the option: "Exists"

πŸ”Ή Step 4: Preview & Verify

  • The app will automatically scan your products and detect which ones contain the keywords related to the metafield key you selected. πŸ‘‰ For those products, it will display the corresponding value on the label.

Example:

  • Metafield Key: care instruction

  • Condition: Exists

β†’ In this case, any product that includes data in the "care instruction" metafield will automatically show a label with that value. (See the image below for a visual example.)

🎲 Use Case 2: Show Exact Values Of Product Meta Field

πŸ”Ή Step 3: Add Product Metafield

  1. Go to the Product tab in DECO (next to the Design tab)

  2. Scroll to the Metafield section >> Click + Add Metafield >> Select the metafield key >> Hit "Select" button

  1. Choose the option: "Equal to" >> Type the Product metafield Value in the white box

πŸ”Ή Step 4: Preview & Verify

  • The app will automatically find products that have the exact metafield value you entered.

πŸ‘‰ Then show that value on the label for those products.

Example:

  • Metafield Key: care instruction

  • Value: sunlight prefer

  • Condition: Equal To

β†’ In this case, any product(s) that include the metafield value "sunlight prefer" will automatically show a label with that value. πŸ–ΌοΈ (See image below for example)

❗ Quick Troubleshooting

  • "No data" β†’ Double-check whether those products have the Product Metafield Value assigned yet OR make sure the metafield key selected in AutoText matches the one added in the Metafield section (under the Products tab).

  • No display β†’ Notice Uppercase/ Lowercase letters (e.g., Linen β‰  linen)

For the option "Exists" β†’ Only type the product metafield KEY

While with the "Equal to" β†’ Only type the product metafield VALUE

πŸ“ž Need Help?

If you’re stuck or need our experts to check your settings:

πŸ‘‰ Contact directly with the live-chat DECO Support team and include:

  • Your label/badge name

  • Screenshots of your Shopify metafield setup

  • An example link should have the label to display on your website

Last updated