Show dynamic content for Products using Metafields 🔥
Learn to show dynamic content in Product template using Metafields
Last updated
Learn to show dynamic content in Product template using Metafields
Last updated
Metafields allow you to store extra information for your products, like size charts, ingredient lists, warranty info, or unique product descriptions. With Shopify’s Online Store 2.0 and the Sleek theme, you can display this data on your product pages without touching any code.
This guide shows you how to do it, step by step.
An Online Store 2.0-compatible theme (like Sleek ✅).
A product metafield already set up.
Content added to that metafield for each product.
Steps:
Go to Shopify Admin > Settings > Custom data > Products.
Click Add definition.
Fill in:
Name: e.g. Short description
Namespace and key: e.g. custom.short_description
Type: Single line text, File, or whatever you need (e.g., File for PDFs, Multi-line text for extra descriptions)
Click Save.
Steps:
Go to Shopify Products > [Choose a product].
Scroll down to the Metafields section at the bottom.
Add your content (text, file, etc.) for that product.
Steps:
Go to Online Store > Themes > [Your Live or Draft theme] > Customize.
In the top dropdown, choose Products > Default product (or a specific template).
Click on the section or block where you want to add dynamic content
Important:
✅ Select from Template > Product
,
❌ Do NOT select from Current block
Why?
Current block
refers to the settings of that block only, not product-specific content.
Template > Product
gives access to product metafields, like descriptions, files, specs, and more, which is what you want!
Choose your metafield (e.g., Short description).
And that’s it! You've now got dynamic, product-specific content showing directly on your product pages — no coding required, just clicks and creativity. 😎
Click into the section or block where you want to show the metafield and look for the Connect dynamic source icon .
When clicking the Connect dynamic source icon (), make sure to:
Once connected, this content will dynamically update per product, making your store easier to manage and way more personalized, with no code needed.