Shopify ups number of metafields
By Matt Collins Article may include affiliate links
Shopify has doubled the number of metafields that each part of an online store can have.
The company has raised the metafield limit to 200, up from 100, per “resource type.”
This means that a store can have 200 metafields for each resource type: That is, products, variants, collections, customers, orders, pages, blogs and blog posts. So that is a potential total of 1,600 metafields if each type has its maximum.
A post on Shopify’s changelog site incorrectly suggests that the 200 field limit is per store, but that is incorrect.
Metafields are a way to add custom fields for each of the various resource types that exist within a Shopify store. They could include, for example, a part number or other unique identifier that a store owner or customers might need to recognize a product beyond Shopify’s standard SKU field.
Fields can store a variety of content types, ranging from color, date, dimension, weight, volume, a file reference, URL, text, true or false or JSON.
Using the Shopify admin, metafields can be created and then can be filled in by users when creating or editing a resource type.
Certain content types can, in turn, have predefined lists of values that the user must select from.
Metafield content can be accessed and displayed in Shopify themes via Online Store 2.0 as well as via the API, giving developers an opening to further customize how Shopify works.
They have become an increasingly popular way to additional additional functionality and information to resources within a Shopify store.