To use metafields in product and description metadata generation, you need to prepare the variables according to TinyIMG’s accepted format.
All supported metafields can be found on the Shopify Settings page under the Custom data section.
Only single-line text, multi-line text, integer, and decimal metafields are supported.
To prepare a metafield variable, copy its Namespace and Key value.
Then, surround it with #metafield_
and #
.
For example, if your metafield is tinyimg.custom_metafield
, the final variable should look like this: #metafield_tinyimg.custom_metafield#
Once your variable is ready, add it to the metadata generator located on the Settings page.
After completing your templates, click Save and then Regenerate.
Note: If a metafield does not exist on a product, it will be replaced with an empty string.
If you'd like a full list of available metafield definitions, just message our in-app support - our team will be happy to provide it!