Metafields the theme reads
Metafields are extra fields you add to products, blog posts and other content in Shopify admin — material, finish, width, a list of spare parts. Faber is built for spec-heavy catalogs, so it reads more metafields than most themes: they fill the list columns, the spec table, the dimension drawing, the documents list and the trade tools.
Some metafields have fixed names (the theme always reads that key). Most are chosen in settings: the theme ships with a sensible default key, and you can point it at any metafield you already have.
You don’t need all of them. Every block and column that reads a metafield hides itself (or shows a dash) when a product has no value. Start with the ones your buyers ask about most.
Metafields with fixed names
| Metafield | On | Type | What it does |
|---|---|---|---|
custom.case_qty | Products | Integer | Sold by the case. Quantities move in whole cases (4, 8, 12…) on the product page, in list rows, in the bag and in the variant matrix, with “Sold in cases of 4” or “Case of 4” beside them. A B2B quantity rule wins when both are set. |
custom.moq | Products | Integer | Minimum order quantity for the Wholesale terms and Variant matrix blocks. It wins over the blocks’ own minimum setting, which is used for products without it. See Wholesale product page. |
reviews.rating | Products | Rating | Stars in the Rating block, the Product details line, the Product reviews section and the Rating row on the compare page. |
reviews.rating_count | Products | Integer | The number of reviews next to the stars. |
custom.related_products | Blog posts | List of products | The products shown under a blog post (the Products heading in the Blog post section). |
You don’t create the reviews metafields yourself. Product review apps (Judge.me, Okendo, Shopify Product Reviews and others) write them automatically. If stars don’t show, check that your review app syncs ratings to Shopify metafields.
Metafields you choose in settings
Write the key as namespace.key, for example custom.material. You’ll find both parts on the metafield definition in Settings › Custom data.
| Where | Setting | Default key | Type |
|---|---|---|---|
| Product grid section (collection page) | Column 1 metafield … Column 3 metafield | custom.material, custom.size, custom.finish | Text, number or list |
| Product grid section | Lead time metafield | custom.lead_time | Single line text, for example “Made to order · 3 weeks” |
| Dimensions block | Width metafield, Height metafield, Depth metafield | custom.width, custom.height, custom.depth | Number (in the block’s Unit for number metafields) or dimension |
| Specifications block | Row 1 metafield … Row 6 metafield, each with a label | custom.material in row 1; the Faber preset adds custom.finish, custom.seat_height, custom.use, custom.fire_rating, custom.care | Text, number, true/false or list |
| Specification blocks inside Specifications | Value — connect it with the dynamic source icon | — | Any |
| Certifications block | Certifications metafield | custom.certifications | List of single line text, or list of Certification metaobjects |
| Documents block | File metafield | custom.documents | File or list of files |
| Parts and accessories block | Products metafield | custom.accessories | List of products |
| Wholesale terms block | Lead time metafield, Recommended retail price metafield | custom.lead_time, custom.rrp | Text; money or number |
| Theme settings › Product compare | Row 1 metafield … Row 4 metafield, each with a label | custom.material in row 1 | Text, number, true/false or list |
How the list columns fill in
Each list column shows the product’s metafield value. When a product has no value, an option with the same name fills the column instead — so a column headed “Size” lists a chair’s Size option values even without a custom.size metafield. Otherwise the cell shows a dash.
Certifications as metaobjects
For logos and a standard number on each certificate, create a metaobject definition Certification (Settings › Custom data › Metaobjects) with three fields:
| Field key | Type | Example |
|---|---|---|
name | Single line text | Fire retardant upholstery |
standard | Single line text | BS 7176 Medium hazard |
logo | File (image) | The mark of the test house |
Then make custom.certifications a Metaobject metafield (list) that references Certification entries. A plain list of single line text (“EN 16139”, “FSC”) works too and shows each value as a tag.
Documents and their labels
Upload files in Content › Files, give each a clear alt text (“Assembly instructions”, “CAD drawing (DWG)”, “Fire test certificate”), then pick them in the product’s custom.documents metafield. The alt text is the label buyers see; without it the file name is used.
Value types that display well
- Single line and multi-line text
- Integer and decimal numbers
- True or false (shows Yes or No in Specifications)
- Lists of the above (shown comma-separated)
- Dimension values for the drawing (they bring their own unit)
Other types (rich text, money, references) are shown as plain text in Specifications and the list columns. Single line text reads best there.
Create a metafield definition
- In Shopify admin, go to Settings › Custom data.
- Click Products (or Blog posts for
custom.related_products). - Click Add definition.
- Enter a Name, for example “Seat height”. Shopify fills in the Namespace and key as
custom.seat_height— this is what you enter in the theme setting. - Click Select type and choose the type, for example Dimension or Single line text. Choose One value or List of values.
- Click Save.
Then fill it in on each product: open the product, scroll to Metafields at the bottom, and enter the value. For a large catalog, use Bulk edit or import a CSV with a metafield column (the Faber demo catalog does this for width, height, depth, material, finish and more).
Turn on Filter for a metafield in the Search & Discovery app to let buyers filter collections by it — material, finish, fire rating or certification are good candidates. See Collection pages and filters.
Example: one fact, shown everywhere
Material should read the same in the list view, on the product page and on the compare page:
- Create a product metafield definition “Material” (
custom.material, single line text) and fill it in, for example “Solid oak, oiled”. - Product grid › Column 1 heading “Material”, Column 1 metafield
custom.material(the defaults). - Product information › Specifications › Row 1 label “Material”, Row 1 metafield
custom.material(the defaults). - Theme settings › Product compare › Row 1 label “Material”, Row 1 metafield
custom.material(the defaults).
Example: the dimension drawing
- Create three product metafields: Width (
custom.width), Height (custom.height) and Depth (custom.depth). Use type Dimension to store the unit with each value, or Decimal and set Unit for number metafields in the Dimensions block (default mm). - Fill them in, for example 560, 790 and 540 mm.
- The Dimensions block draws the front and side views to scale, with a mm / in switch.
Example: products in a blog post
- Create a blog post metafield definition “Related products” with Namespace and key
custom.related_productsand type Product, List of values. - Open a blog post, scroll to Metafields and choose the products.
- The post shows them under the article, with the heading set in the Blog post section.
Common mistakes
- Wrong key:
materialalone won’t work — include the namespace:custom.material. - Wrong owner: a variant metafield won’t show in a product setting; create the definition under Products.
- Width without height: the drawing needs both; depth is optional.
- Files without alt text: the documents list falls back to file names such as
ARC_DC_2024_v3.pdf.