> For the complete documentation index, see [llms.txt](https://design-packs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://design-packs.gitbook.io/docs/fundamentals/global-section-settings/enable-metafield-detection-setting.md).

# 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

> **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>.

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