Fluorescent
Eclipse
Eclipse
  • Get started
    • Migrating to Eclipse
    • Theme license
  • FAQs
  • Changelog
    • Update your theme
  • General
    • Editing themes
      • Dynamic content with metafields
      • Edit default theme content
      • Multiple languages
      • Unique content for markets
      • Customizing your site
      • H1 heading tags
    • Image guide
      • Web ready photography
      • Image sizes
      • File formats
      • Theme image settings
    • SEO for Shopify
    • Online store speed
    • Accessibility
  • Theme settings
    • Theme settings
      • Social media
    • Theme styles
    • Fonts
    • Colors
  • Corner rounding
  • Pages
    • Page templates
      • Using templates
      • Customize page styles
      • Create and assign templates
    • Demo layouts
    • About page
    • Home page
    • Blog page
    • Blog post
    • Contact page
    • Password page
    • Search page
  • Sections
    • Sections
      • Using sections
      • Content blocks
    • Blog posts
    • Collapsible content
    • Collection list
    • Contact form
    • Featured collection
    • Featured links
    • Feature product
    • Grid
    • Icon with text columns
    • Image hero
    • Image with text
    • Multi-column
    • Newsletter
    • Rich text
    • Scrolling content
    • Shop the look
    • Shoppable feed
    • Slideshow
    • Video
    • Video hero
    • Video with text
    • Custom Liquid
  • Header
    • Announcement bar
    • Header
      • Layout and style
      • Logo
      • Transparent header
      • Mega menu
      • Language and Currency
    • Impact logo
    • Search
  • Footer
    • Footer
      • Image Text and Socials
      • Links block
      • Newsletter and Socials
      • Language and Currency
      • Custom Liquid
  • Products
    • Product listings
      • Product card styles
      • Sale and sold out badges
      • Quick shopping
    • Prices and currencies
    • Swatches
      • Use default colors
      • Use custom colors
      • Use custom images
  • Product pages
    • Product page
      • Gift card product
    • Media gallery
      • Media grouping
    • Product overview blocks
      • Description
      • Price
      • Buy buttons
      • Collapsible row
      • Complementary products
      • Custom option
      • Featured icon with text
      • Icon with text
      • Inventory status
      • Image block
      • Popup block
      • Product rating
      • Text block
      • Share icons
      • Custom Liquid
    • Variant selector
      • Info popup
    • Sticky add-to-cart
    • Sibling products
    • Product recommendations
  • Collections
    • Collection page
      • Banner
      • Product grid
      • Promotion tiles
      • Filters and sorting
    • Collection list page
  • Cart
    • Cart
    • Free shipping bar
    • Cross sells
  • Popups
    • Popups
  • Support
    • Support policy
    • Shopify vs Theme issues
    • Store access requests
  • Advanced
    • Custom CSS
    • Custom fonts
Powered by GitBook
On this page
  • Watch video tutorials
  • Overview
  • General steps

Was this helpful?

  1. General
  2. Editing themes

Dynamic content with metafields

Last updated 5 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.

  • Collapsible row block

  • (Size guide)

  • Complementary products

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.

Shopify's metafields guide ↗
Metafield content types and values ↗
Shopify's bulk editor
Sibling product swatches
Information popup