Sleek
Try Sleek freeResourcesOther solutions
  • What is Sleek theme
  • Changelog
  • Refund policy
  • Support policy
  • Getting started
    • Install Sleek theme
    • Set up my store as Sleek demo
    • Update Sleek theme
    • Theme license & Transfer
  • BUILD FOR SUCCESS SERIES
    • Homepage for Health & Beauty 🔥
  • Page's global sections
    • General settings
    • Announcement bar
    • Cart drawer
    • Header
      • Mega menu
      • Use Country/ Region selector
      • Use Language selector
    • Footer
    • Mobile navigation bar
    • Pop-up
    • Quick view
  • Theme sections
    • Before/ After image slider
    • Blog post
    • Card images
    • Collage tabs
    • Collapsible tabs
    • Collection image showcase
    • Collection list
    • Collections showcase
    • Collections slider
    • Contact form
    • Countdown timer
    • Custom content
    • Custom liquid
    • Email signup
    • Favorite products
    • Feature list
    • Featured product
    • Featured collection
    • Featured products tab
    • Highlight text with image
    • Image gallery
    • Image with text
    • Image with text columns
    • Image with text overlay
    • Layered images with text
    • Lookbook banner
    • Lookbook cards
    • Lookbook slider
    • Media with collection
    • Multicolumn
    • Press
    • Products bundle
    • Product tabs
    • Product showcase
    • Recently viewed products
    • Rich text
    • Scrolling promotion
    • Slideshow
    • Store locator
    • Testimonials
    • Video
    • Video hero
    • Video with text
  • Theme settings
    • General 🔥
    • Animations
    • Buttons
    • Custom CSS
    • Blog cards
    • Cart
    • Collection cards
    • Color swatches
    • Colors
    • Currency format
    • Layout
    • Logo
    • Product cards
    • Search behavior
    • Social media
    • Typography
  • Collections & Products
    • Product page
      • Product template
      • Breadcrumbs
      • Product information
      • Related products
      • Sticky add to cart bar
      • Quick order list 🔥
    • Collection page
      • Collection template
      • Collection banner
      • Product grid
    • Collections list page
  • Other pages
    • 404 page
    • Blogs
    • Blog posts
    • Cart
    • Password
    • Search page
  • FAQs
    • Generic
      • Add gift wrap option to my cart
      • Combined listings app
      • Customize the checkout
      • How to add custom fonts in Sleek? 🔥
      • How to remove 'Powered by Shopify' in Copyright
      • Remove text Tax included and Shipping calculated at checkout below the product price
      • JavaScript events for developers
    • Collection
      • Change the default sorting of a collection
    • Product
      • Set up quantity rules and volume pricing 🔥
      • Add custom badges using product tags
      • Set up Local Pickup option
      • Show dynamic content for Products using Metafields 🔥
  • Troubleshooting
    • Mega menu not working when changing the store languages
Powered by GitBook
On this page
  • What you’ll need
  • Step 1: Create a Metafield definition (if you haven’t yet)
  • Step 2: Add Content to Product Metafield
  • Step 3: Display Metafield content in the theme editor
  • Wrap up 🎉
  1. FAQs
  2. Product

Show dynamic content for Products using Metafields 🔥

Learn to show dynamic content in Product template using Metafields

PreviousSet up Local Pickup optionNextMega menu not working when changing the store languages

Last updated 9 days ago

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.

What you’ll need

  • An Online Store 2.0-compatible theme (like Sleek ✅).

  • A product metafield already set up.

  • Content added to that metafield for each product.

Step 1: Create a Metafield definition (if you haven’t yet)

Steps:

  1. Go to Shopify Admin > Settings > Custom data > Products.

  2. Click Add definition.

  3. 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)

  4. Click Save.

Step 2: Add Content to Product Metafield

Steps:

  1. Go to Shopify Products > [Choose a product].

  2. Scroll down to the Metafields section at the bottom.

  3. Add your content (text, file, etc.) for that product.

Step 3: Display Metafield content in the theme editor

Steps:

  1. Go to Online Store > Themes > [Your Live or Draft theme] > Customize.

  2. In the top dropdown, choose Products > Default product (or a specific template).

  3. 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!

  1. Choose your metafield (e.g., Short description).

Wrap up 🎉

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.