Summary
Keywords
Full Transcript
In this video we'll take a look at Metafields for Shopify Theme Development. We'll see how to create a metafield, what type of metafields are available, how to access their content from a Shopify theme and more. 🟢 My links - Website - https://stackingcontext.com - Support This Project - https://stackingcontext.com/support - Let's work together - https://stackingcontext.com#contact - Get Early Access To New Videos - https://www.youtube.com/@stackingcontext/join Resources • Metafields Documentation - https://help.shopify.com/en/manual/custom-data/metafields • Metafield Owner Types - https://shopify.dev/docs/api/admin-graphql/unstable/enums/MetafieldOwnerType • Metafield Content Types - https://help.shopify.com/en/manual/custom-data/metafields/metafield-definitions/metafield-types • Standard Metafield Definitions - https://shopify.dev/docs/apps/custom-data/metafields/definitions/standard • JSON Schema Builder - https://bjdash.github.io/JSON-Schema-Builder/ Timestamps 00:00 - Introduction 00:54 - Metafield Owners 01:48 - Creating a Metafield 10:52 - Populating the Metafield 11:58 - Setting an Initial Value 13:38 - Accessing the Metafield from Liquid 16:40 - Metafield Types 17:04 - Product Type Metafields 18:40 - File Type Metafields 21:21 - File Type Metafields for Images 24:19 - Date Type Metafields 26:04 - Measurements Metafields 27:42 - Richtext Type Metafields 29:05 - Accessing Richtext Metafields 31:08 - JSON Type Metafields 35:12 - List Metafields 36:46 - Metafields in the Theme Editor 38:17 - Standard Metafield Definitions 40:39 - Dynamic Metafields
