Skip to main content

Variant text / HTML

Intro

This tutorial covers the peculiarities of a specific block. Please ensure you are familiar with the basic tutorial before proceeding.

Supported metafield types

The given block is compatible with the boolean metafield type:

  1. Single-line text field *;
  2. Multi-line text field;
  3. Rich text field;
  4. String (deprecated);
  5. Number integer *;
  6. Number decimal *;
  7. Dimension *;
  8. Volume *;
  9. Money;
  10. Integer (deprecated);

The list versions are supported for the types marked with a star ("*").

Configuring your block

Make sure to copy the correct namespace and key from variant-level metafields:

make-sure-to-copy-the-correct-namespace.png

You can also use product-level metafields as placeholders for those of your variants that don't have the metafield yet. If you want to disable this feature, all you need to do is un-tick this option:

can-also-use-product-level-metafields.png

Customizing your block

Please refer to this tutorial to learn more about customizing a text block.