3

Dynamic Variant Metafields

Rupali

Last Update hace 8 días

The Clean Tables app supports displaying the value of any selected variant metafield, including those created by other apps.

 A. To display a variant metafield using a dynamic field:
  1. Identify the namespace and key of the metafield.
  2. Use the following format in your table content: {{cleantVariantm.namespace.key}}

Example: If your metafield has: Namespace: instructions  and Key: wash, then use: 
{{cleantVariantm.instructions.wash}}

This will automatically show the metafield value of the selected variant in the table.

B. To reference the metafield directly (without dynamic data field): You can use the standard metafield format: {{ variant.metafields.namespace.key.value }}

Example: If your metafield is in the custom namespace with key size, then use: 
{{ variant.metafields.custom.size.value }}

This will directly render the metafield value for the current variant context.



Was this article helpful?

0 out of 0 liked this article