Metafield
Metafields allow you to attach specialized information to Shopify resources, such as part numbers or release dates. Merchants and other apps can retrieve and edit the data that is stored in metafields from the Shopify admin.
Hydrogen includes the following metafield hooks:
Hook name | Description |
---|---|
useParsedMetafields | The useParsedMetafields hook transforms a MetafieldConnection in an array of metafields whose values have been parsed according to the metafield type . |