Product data
Reference table of every metafield, tag and swatch convention that Spread reads.
Setup guide
Before you begin
Spread is in development. These early guides grow as the theme does.
Spread reads standard Shopify metafields, native category swatches, and customer or article tags to power its product blocks and filters. Details table and Scale hide when supported data is missing. Star rating can show an unrated state when enabled. Product pairings uses its section and Product block pickers, rather than the Product add-ons list setting.
Create a metafield definition
- In your Shopify admin, go to Settings > Metafields and metaobjects and select Products.
- Click Add definition.
- Enter the Name, set the Namespace and key to match the table below, and pick the Type.
- Click Save, then fill in values on your products under Products in the admin.
Metafields, swatches and tags reference
| Feature | Namespace and key / source | Type | How Spread uses it |
|---|---|---|---|
| Details table | nutritional.<key> | Single-line text | Renders up to 50 top-level rows in the Details table block. The key supplies the left column label, with underscores replaced by spaces and sentence case applied, and the product's value becomes the right column. |
| Details table sub-rows | nutritional_sub_<key>.<subkey> | Single-line text | Renders indented sub-rows directly beneath the parent nutritional.<key> row (for example, nutritional_sub_fat.saturates nests under nutritional.fat). |
| Scale labels | scale_labels.<key> | Single-line text (List of values) | Defines at least two nonblank labels in order. The Scale block discovers matching keys automatically; no dynamic-source connection is needed. |
| Scale active step | scale_position.<key> | Integer or Decimal (One value) | Position from 0 to 100, independent of label count. The key must match its scale_labels field. |
| Product add-ons | Any product list metafield (for example, custom.add_ons) | Product (List of products) | Connect to the Products setting via Connect dynamic source so each product displays its own add-ons or pairings. |
| Star rating | reviews.rating and reviews.rating_count | Rating & Integer | Standard Shopify product rating metafields populated by review apps. Read by the Star rating block on product pages and product cards. |
| Variant picker, Color swatches, and filter swatches | Shopify category metafield swatches (option.values.swatch) | Native Shopify swatch (color or image) | Automatically renders colour or image swatches in the Variant picker block, the Color swatches product card block, and collection/search filter swatches when configured in Search & Discovery. |
| Complementary products & Cart recommendations | Shopify Search & Discovery app | Product recommendations | Populates the Complementary products block, Product recommendations section, Cart drawer, and Cart recommendations section. |
| Blog tag bar & Article tags | Blog post Tags | Article tags | Populates the tag filter links in Blog > Blog header (when Show tags is on) and the tag links and breadcrumb on Article pages. |
| Email signup & Newsletter popup | newsletter customer tag | Customer tag | Added automatically to customer profiles created through any newsletter signup form in Spread. |
Related
Couldn’t find what you need?
