# Metafields

{% embed url="<https://www.youtube.com/watch?v=wQuchpx9NzI>" %}

Metafields let you go beyond Shopify’s default fields by attaching extra information to your products, collections, and more. They’re perfect for adding custom text, images, or videos to specific products, and work seamlessly with Flexi sections and most Shopify themes.

### What Are Metafields?

Metafields are additional fields that you can create and manage in your Shopify admin. You can use them to store:

* Short taglines or extra product descriptions
* Size charts or material details
* Custom product badges or icons
* Product demo videos
* And more

You define each metafield once and then fill it out per product, making your content structured and scalable.

### How to Create a Metafield

1. Go to Settings > Custom data > Products
2. Click “Add definition”
3. Give your metafield a name (e.g. *Tagline* or *Promo Video*)
4. Choose a content type:
   * Single line text
   * Image
   * Video
   * File
5. Save your definition

You’ll now see your metafield appear on each product page in the admin under the Metafields section.

### How to Add Metafields to Your Product Page

If you’re using a modern Shopify theme like Horizon (or any OS 2.0 theme), you can add metafields right inside the theme editor:

1. Go to Online Store > Customize
2. Navigate to a product page
3. Click “Add block” in the product information section
4. Choose a block like Text, Image, or Video
5. Click “Connect dynamic source” and select your metafield<br>

### Metafield Tips

* Keep your metafield names simple and clear (e.g. Tagline, Icon, How-to Video)
* Use image metafields for icons, size charts, or extra visuals
* Use video metafields to embed demo reels, unboxings, or walkthroughs
* You can use the same metafield across multiple products — just fill out the value differently for each one

### Metafields & Flexi

Flexi sections support metafields through dynamic sources in the theme editor. That means you can connect a custom text or image metafield directly to a Flexi block making your sections even more flexible and tailored to each product.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://flexi-library.gitbook.io/flexi-slider-sections/docs/metafields.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
