Design Packs Docs
design-packs.comView on Shopify App Store
  • Get started here
  • Guides
    • Adding your first section
    • Adding your first template
    • General settings
    • Helpful hints & resources
    • Troubleshooting
    • Performance
  • Fundamentals
    • Section Settings
      • Setting Solid Background Colors instead of Gradients
      • Understanding Layout Settings: Size & Maximum Width
      • Understanding Inner Padding & Outer Margin Settings
      • Custom Classes Setting
      • Show Individual Variants Setting
      • Enable Metafield Detection Setting
        • Metafield ready sections
        • How to Use Metaobjects on Product template with Image with text - simple section
      • Metafield Badge Setting
      • Using Blog Tags Setting to Show Product-Specific Blog Posts
      • Add custom events when product is added to cart
      • Size Controls for Image & Video Blocks
      • Featured collection - blocks
        • How to use the Liquid Block in "Featured collection - blocks" Section to Add Custom Review Apps
        • How to use the Metafield Image Badge block
        • How to use the Metafield text block
      • Newsletter/Signup Form Block - Tags
      • How to add a Hidden Field in Contact Form
    • Sections
      • Banners & Sliders
      • Flourish
      • Icon & Logos
      • Image with text
      • Menus & Navigation
      • Blocks & Columns
      • Text Content
      • Products & Collections
      • Article sections
      • Galleries
      • Misc
      • Modal Popup
    • Templates
      • Regular Page
      • Lookbooks
      • Blogs
      • Blog Posts
      • Collection
      • Landing pages
    • Custom CSS
      • Basic CSS examples
      • Mobile CSS examples
      • Advanced Examples
    • Shopify expertise
      • Theme editor
      • Metafields
      • MetaObjects
    • How to Guides
      • How to jump/ link to another section on the SAME page
      • How to forward a contact form in Shopify to a different email with Gmail filters
      • How to create new page templates (and keep the original as a starting point)
      • Creating a New Product Template
      • How to set default article template for all blog posts
  • Use Cases
    • For Designers
    • For Developers
    • Agency Licenses
    • Affiliate Program
  • PRODUCT BLOCKS
    • Product Blocks
      • Image with text block
      • Connected products block
      • Variant descriptions block
      • Value icons block
      • Video block
      • Collapsible content block
      • Feature range block
  • Integrations
    • Theme Updater App
Powered by GitBook
On this page
  • What Does It Do?
  • Use Cases Across Templates
  • Example Use Cases
  • Tips & Best Practices
  • Troubleshooting
  • Benefits
  • When to Use
  • When to Disable
  1. Fundamentals
  2. Section Settings

Enable Metafield Detection Setting

A powerful setting that automatically hides sections when no content is available, creating a cleaner shopping experience across your store.

What Does It Do?

The "Enable metafield detection" setting helps prevent empty sections from appearing on any page of your store. When enabled, sections will automatically hide themselves if their associated metafields or metaobjects are empty.

Use Cases Across Templates

Product Pages

- Product specifications
- Assembly instructions
- Size charts
- Care guides
- Related blog posts

Collection Pages

- Category descriptions
- Filtering options
- Featured content
- Collection-specific banners

Blog Posts

- Author information
- Related products
- Category descriptions
- Custom content blocks

Pages

- Store locations
- Team member profiles
- FAQ sections
- Custom content modules

Example Use Cases

Product Features

Metaobject content:
- Heading: "Key Features"
- Content: Detailed product features
- Image: Feature diagram
- Button: "View Specifications"

Care Instructions

Metaobject content:
- Heading: "How to Care"
- Content: Care instructions
- Image: Care demonstration
- Button: "Watch Care Video"

Origin Story

Metaobject content:
- Heading: "Handcrafted in Italy"
- Content: Product origin story
- Image: Workshop photo
- Button: "Meet Our Artisans"

Tips & Best Practices

  1. Use consistent image sizes

  2. Keep headings concise

  3. Write clear, scannable content

  4. Use high-quality images

  5. Test on multiple products

Troubleshooting

Section Not Showing?

  1. Verify metaobject is created

  2. Check product association

  3. Confirm "Enable metafield detection" setting

  4. Ensure all required fields are filled

Content Not Updating?

  1. Clear theme cache

  2. Check metaobject is published

  3. Verify product association

Need help? Contact our support team at support@design-packs.com for assistance.

Pro Tip: Create a template metaobject first to establish your content structure before creating multiple versions.

Benefits

  • Creates cleaner, more relevant pages

  • No need to manually hide sections

  • Prevents empty placeholder content

  • Works consistently across all templates

When to Use

  • Setting up template-specific content

  • Works with metaobjects

  • Displaying optional information

  • Creating dynamic pages

  • Managing content across multiple templates

When to Disable

  • During section setup and testing

  • When you want to show placeholder content

  • If you prefer default fallback content for empty fields

Pro Tip: Enable this setting by default when using metafields or metaobjects to ensure a clean, professional appearance throughout your store.

PreviousShow Individual Variants SettingNextMetafield ready sections

Last updated 2 months ago

Note: We are currently rolling out the "Enable metafield detection" setting across all Design Packs sections. If you'd like to request this setting for a specific section sooner, please contact us at .

support@design-packs.com