To use metafields in product SEO title and description generation, you need to prepare the variables according to TinySEO's accepted format.
Metafields work only in the product SEO title template and SEO description template. Collection templates don't support metafields.
You can find your product metafields on the Shopify Settings page under the Custom data section.
TinySEO inserts the metafield value exactly as Shopify stores it. Text and number metafields give the cleanest results. If a metafield references a metaobject, TinySEO uses the value of the metaobject's first field. List metafields are inserted as raw data (for example ["Red","Blue"]), so avoid them in your templates.
To prepare a metafield variable, copy its Namespace and Key value.
Then, surround it with #metafield_ and #. Type the namespace in lowercase.
For example, if your metafield is custom.material, the final variable should look like this: #metafield_custom.material#
Once your variable is ready, add it to the SEO title template or SEO description template in the SEO metadata section of the Settings page.
After completing your templates, click Save and then Regenerate.
Note: If a product doesn't have a value for a metafield, the variable is replaced with an empty string.
If you'd like a full list of available metafield definitions, just message us in chat. Our team will be happy to provide it!


