Metafield scopes
Throughout this help center, we use examples showcasing metafields for the product scope, i.e. custom fields for products.
This is done to maintain consistency between the different code snippets.
Please know that every example, that uses the product scope can just as well use any of the other 8 scopes available:
- variant
- collection
- page
- blog
- article
- order
- customer
- shop
so this example use of a product metafield
{{ product.metafields.accentuate.my_custom_field }}
could just as well be written as
{{ page.metafields.accentuate.my_custom_field }}
or
{{ collection.metafields.accentuate.my_custom_field }}
depending on which scope "my_custom_field" was created using ACF and the context of its use within the theme.