> For the complete documentation index, see [llms.txt](https://themessupport.gitbook.io/lollipop-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://themessupport.gitbook.io/lollipop-theme/configuration/metafields.md).

# Metafields

Lollipop supports Shopify metafields to display custom product data — ingredients, care instructions, size guides, and more — without any code changes.

## What Are Metafields?

Metafields allow you to store additional information that isn't included in Shopify by default. They help you add custom details to products, collections, customers, orders, and other Shopify resources.

## How to Create a Metafield Definition

<table><thead><tr><th width="80">Step</th><th>Action</th></tr></thead><tbody><tr><td>1</td><td>Go to <strong>Shopify Admin → Settings</strong>.</td></tr><tr><td>2</td><td>Click <strong>Metafields and metaobjects</strong>.</td></tr><tr><td>3</td><td>Select a resource such as <strong>Products</strong>, <strong>Collections</strong>, <strong>Customers</strong>, <strong>Orders</strong>, or <strong>Variants</strong>.</td></tr><tr><td>4</td><td>Click <strong>Add definition</strong>.</td></tr><tr><td>5</td><td>Configure the metafield definition.<br><strong>Name:</strong> A descriptive label for the metafield.<br><strong>Type:</strong> Type of data to store, such as Text, Number, URL, File, Date, Color, Rating, or Boolean.<br><strong>Description:</strong> Optional internal notes about the metafield.<br><strong>Category assignments:</strong> Optionally limit the metafield to specific product categories.<br><strong>Storefront API access:</strong> Allows the metafield to be accessed through the Storefront API.</td></tr><tr><td>6</td><td>Click <strong>Save</strong>.</td></tr></tbody></table>

## How to Add Metafield Values

<table><thead><tr><th width="80">Step</th><th>Action</th></tr></thead><tbody><tr><td>1</td><td>Open the product, collection, customer, order, or other Shopify resource where you want to add metafield values.</td></tr><tr><td>2</td><td>Scroll down to the <strong>Metafields</strong> section.</td></tr><tr><td>3</td><td>Enter the required value.</td></tr><tr><td>4</td><td>Click <strong>Save</strong>.</td></tr></tbody></table>

### Examples of Common Metafields

* **Products:** Material, Stone Shape, Care Instructions, Additional Image, and Video URL.
* **Collections:** Banner Image, Short Description, and Tagline.

### Where Metafields Are Used

* Display materials, ingredients, delivery information, and other custom content on product pages.
* Store additional descriptions, banners, and promotional content for collections and pages.
* Store customer preferences and business-specific data.
* Power custom sections and dynamic content without modifying theme code.

### How to create metafields?

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Flf0zuS3pnoHVKPsHAmfW%2Fuploads%2F8J72URYkHGPqRgsM0sDi%2F5%20-%20Metafield.mp4?alt=media&token=d79fa7a7-236f-483d-856d-7c877398497d>" %}
