Fluorescent
Stiletto
Stiletto
  • Stiletto Help Center
    • Start using Stiletto
      • Theme licenses
      • Migrate your theme
    • FAQs
    • Video tutorials
    • Changelog
  • General
    • Editing themes
      • Adding sections
      • Using templates
      • Accessibility
      • Customizing your site
      • SEO for Shopify themes
      • H1 heading tags
      • Online store speed
    • Image guide
      • Web ready photography
      • Image sizes
      • File formats
      • Theme image settings
    • Adapting theme content
      • Edit default theme content
      • Multiple languages
      • Dynamic content with metafields
      • Unique content for markets
    • Update your theme
  • Theme styles
    • Theme settings
    • Style presets
      • Demo layouts
    • Fonts
    • Colors
    • Animation
  • Pages
    • Templates
      • About page
      • Blog page
      • Blog posts
      • Collections list
      • Contact page
      • Customer accounts
      • FAQ page
      • Lookbook
      • Password page
      • Search page
      • Store locations
      • 404 page
      • Home page
    • Announcement bar
    • Header
      • Layout and style
      • Logo
      • Transparent header
      • Mega menus
      • Mobile menu
      • Quick search
      • Language and currency
      • Social media icons
      • Customer account icon
    • Footer
      • Links block
      • Newsletter block
      • Text and image block
      • Language and currency
      • Payment icons
      • Custom Liquid
  • Sections
    • Theme sections
      • Using sections
      • Content blocks
      • Blog posts
      • Collapsible row list
      • Collection list grid
      • Collection list slider
      • Complete the look
      • Contact form
      • Countdown banner
      • Countdown bar
      • Events
      • Featured collection grid
      • Featured collection slider
      • Featured product
      • Gallery carousel
      • Grid
      • Image compare
      • Image hero
      • Image hero split
      • Image with text
      • Image with text split
      • Multi column
      • Newsletter
      • Newsletter compact
      • Promotion banner
      • Promotion bar
      • Quotes
      • Recently viewed products
      • Rich text
      • Sales banner
      • Scrolling content
      • Shoppable image
      • Shoppable image editorial
      • Slideshow
      • Testimonials
      • Video
      • Video hero
      • Video with text
    • Popups
      • Sign up popup
      • Age verification
      • Countdown popup
      • Promotional popup
  • Products
    • Product listings
      • Product card style
    • Prices and discounts
    • Product badges
    • Quick shop
  • Product pages
    • Product template
      • Alternate templates
      • Pre-order template
      • Gift card
    • Layout and style
      • Product tabs
      • Media gallery
      • Sticky product details
      • Breadcrumbs
      • Navigation buttons
    • Overview blocks
      • Default blocks
        • Description
        • Product header
        • Variant selector
        • Quantity selector
        • Buy buttons
        • Local pickup banner
        • Share icons
        • Sticky add-to-cart bar
      • Collapsible rows block
      • Complementary products
      • Custom options
      • Image block
      • Information popup
      • Product labels
      • Secure payment
      • Stock level indicator
      • Text block
      • Text list with icons
      • App blocks
    • Variant options
      • Variant chips
      • Variant swatches
        • Enable swatches
        • Use default colors
        • Use custom colors
        • Use variant images
        • Use custom images
        • Change swatch styles
        • Show on product cards
        • Dynamic option availability
      • Media grouping
      • Sibling product swatches
    • Product page sections
      • Product reviews
      • Product recommendations
  • Collection pages
    • Collection template
      • Collection landing
      • Sale collection
      • Subcollections
      • Flash sale
    • Banner
    • Product grid
    • Filters and sorting
  • Cart
    • Cart page
    • Quick cart
      • Added to cart popup
      • Empty cart promotion
    • Free shipping bar
    • Low inventory warning
    • Cross sells
  • Support
    • Support policy
    • Shopify vs Theme issues
    • Store access requests
  • For developers
    • Custom CSS
    • Custom fonts
    • Custom Liquid
    • Custom JavaScript events
    • Edit Theme JavaScript
Powered by GitBook
On this page
  • Watch video tutorials
  • Overview
  • General steps

Was this helpful?

  1. General
  2. Adapting theme content

Dynamic content with metafields

Last updated 4 months ago

Was this helpful?

Metafields and Dynamic sources are Shopify features that allow you to store and display unique content for products, collections, blogs, and pages.

These features are perfect for displaying specific product information — such as size guides or part numbers — for different products that use the same template.

This guide provides a general overview of using metafields and dynamic sources in our themes. Follow the links below for instructions for using dynamic sources for specific theme features.

  • (Size guide)

Watch video tutorials

Watch the step-by-step tutorials for the Metafields. The first video provides a general introduction, and the second video shows you how to use metafields for unique size guides and complementary products.

Overview


If you want to display custom content for different pages, you can use Shopify's metafields and dynamic sources.

  • Metafields are extra data fields in your Shopify admin that can store additional information and content for products, collections, and pages.

  • Dynamic sources are what connect metafields to templates and sections. You can add dynamic sources in your theme editor to automatically display metafield content for specific products, collections, or pages.

General steps


Shopify's Metafields lets you store additional information about your products in your Shopify admin. You can create custom fields to hold different types of information.

Once your metafields are set up, you can use Dynamic sources in your theme editor to connect metafields to your templates. Dynamic sources automatically use the content entered in the metafield for each product.

1

Create metafields

Go to Settings > Custom data to create a metafield for a part of your store. The most common metafields are for Products and Collections.

Add a new definition with a name, then select the type of metafield. The type determines what kind of information the metafield will hold: e.g., text, URLs, or products.

2

Add content to metafields

The metafields that you create will appear on the admin pages of your products, collections, or other parts of your store.

3

Insert metafields as dynamic source

Now that the Metafields of your products have content, you can connect them to your theme to automatically show the correct information for different parts of your store.

In the theme editor, click on a block or section to open the settings. Click an Insert dynamic source button next to a field or setting, and select your metafield.

The setting must support the type of metafield: e.g., heading fields require a single-line text metafield.


Metafields and dynamic sources are a Shopify feature. Our themes use these features but they are controlled by Shopify. For a full overview, see .

See Shopify's list of

You can use ↗ to add metafield entries for multiple products or collections.

Related links

Shopify's metafields guide ↗
Metafield content types and values ↗
Shopify's bulk editor
Edit default theme content
Multiple languages
Unique content for markets
Sibling product swatches
Stock level indicator
Information popup
Complementary products
Collapsible row block