Six Pixel Radius
Spread / Setup guide

Scale

Show all your product’s scales automatically using matching metafield keys.

Before you begin

Spread is in development. These early guides grow as the theme does.

Scale shows product attributes such as heat or finish. Customers can read the scales but cannot adjust them. Add one block to show every valid pair of Scale metafields on the product.

Create a matching pair

  1. In Shopify admin, open Settings → Metafields and metaobjects → Products → Add definition.
  2. Enter Heat labels as the Name. Shopify suggests custom.heat_labels; edit the Namespace and key to scale_labels.heat. Choose List → Single line text (list.single_line_text_field). This one field holds all the labels in order.
  3. Add another definition named Heat position. Change its suggested namespace and key to scale_position.heat. Choose One → Integer or One → Decimal, and set its minimum to 0 and maximum to 100.
  4. Open a product, enter at least two nonblank labels and a position in its Metafields, then save.

The namespaces must be scale_labels and scale_position. The key must match exactly in both definitions: heat pairs with heat. For another attribute, create scale_labels.glaze_finish and scale_position.glaze_finish.

For example, labels of Mild, Medium, Hot remain fixed while position 60 places the marker at 60%. These are setup examples; enter your own verified product information.

Add Scale to the theme

  1. Open the product template in the theme editor and choose Product information → Add block → Scale.
  2. Check the scales on desktop and phone, then save.

The block finds the matching fields automatically. Each product section allows one Scale block, which shows all valid pairs alphabetically by their shared key. Titles come from that key: heat becomes Heat, and glaze_finish becomes Glaze finish. Underscores and hyphens become spaces. Choose keys that read well as titles.

Desktop spacing → Bottom and Mobile spacing → Bottom control the gap after the whole group independently; zero is allowed. Add a Divider block separately if you want a dividing line.

Scale block settings showing independent desktop and mobile bottom spacing

Good to know

  • Only the reserved namespaces are read. Fields under custom, unrelated fields and unmatched keys are ignored.
  • Labels retain their source order and equally spaced anchors. Position is independent of label count; zero, 100 and decimals are valid. You own the labels’ meaning and consistency.
  • Long labels wrap. Dense labels move to separate rows without dropping labels or shrinking the text.
  • Missing or invalid data hides that individual scale without a gap. Other valid scales remain visible. If none are valid, the storefront shows nothing; the editor shows setup guidance.
  • Featured product uses its selected product. Quick view inherits the product template’s Scale block. Values belong to the product, not its variants.
  • The theme does not create definitions, move existing custom fields or populate product values.

Check your setup

Preview products with different pairs. Check positions 0, 60, 100 and a decimal, four labels and long text on a narrow phone. Clear one pair’s position: only that scale should disappear. Check Featured product and quick view separately.

Couldn’t find what you need?