Getting started with measurements
Plumbline draws every piece you sell from its real dimensions. The same numbers power the drawings on the product page, the "Will it fit?" panel (the Fit check block in the theme editor), the sizes on product cards, the width filter on collection and search pages, the cart's door check and the room and site plans on the home page.
You don't draw anything yourself. You enter a product's width, depth and height once, and the theme does the rest.
This page explains which product data the theme reads, what each value does and what shoppers see when a value is missing. For the step-by-step setup of the definitions in your admin, see Metafields and metaobjects setup.
The three numbers that matter most
Every measured feature starts from three product metafields:
| Metafield | Type | What it does |
|---|---|---|
specs.width | Dimension | Width of the assembled piece, from side to side |
specs.depth | Dimension | Depth, from front to back |
specs.height | Dimension | Height, from the floor to the highest point |
Enter them in the unit you know (centimeters or inches). The theme converts them, and shoppers can switch between cm and in on every page.
When one of the three is missing, the theme can't draw the piece to scale, so it leaves out everything that depends on a drawing: the drawing thumbnails and drawing sheet on the product page, the fit check, the size row and width bar on product cards, the drawing in the cart, and the piece's place in lineups and room plans. It never shows "0 cm" or a made-up drawing. The product is still listed and sold everywhere, and the spec strip shows whichever values exist.
Check your unit system first. If your store uses the imperial system, the admin suggests inches, so typing 220 for a 220 cm sofa saves 220 inches. Check the unit next to each value before you save. See Check your store's unit system first.
Details that make drawings more accurate
All of these are optional. Without them, the theme uses sensible defaults.
| Metafield | Type | What it does | Without it |
|---|---|---|---|
specs.seat_height | Dimension | Adds the seat line and a seat dimension to sofas, chairs and benches | No seat line |
specs.weight | Weight | Shows the weight in the spec strip and the cart's total weight, and the "two people" carry note in the Delivery and assembly block and the Delivery day section | Weight is left out |
specs.drawing_type | Single line text | Picks the drawing template (see below) | The theme guesses from the product type, then uses a rounded box |
specs.shape | Single line text: rect, round or curved | Picks the shape of the template, for example a round table top or a curved sofa back | Rectangular |
specs.drawing | File (SVG or image) | Your own front drawing replaces the generated one | Generated drawings |
Drawing types
Set specs.drawing_type to one of these values when the guess from the product type isn't right:
sofa, armchair, chair, dining_table, coffee_table, side_table, bed, cabinet (sideboards, chests, nightstands), shelf, floor_lamp, table_lamp, pendant, wall_lamp, rug, planter, generic (a rounded box), and none to never draw a product, for example fabric samples or small accessories.
Tip: Add these values as preset choices on the metafield definition, so your team picks from a list instead of typing.
Sizes per variant
If a product comes in sizes, for example a bed in Queen and King, add specs.width, specs.depth and specs.height as variant metafields too. A variant's own values win over the product's. The spec strip, drawings, fit check and cards update when a shopper picks another variant.
Without variant values, every variant shows the product's size.
The width filter: specs.width_band
Shopify's filters can't filter by a Dimension metafield, and a number filter would list every single width as its own checkbox. Plumbline uses a simple text metafield with four bands instead:
| Metafield | Type | Values |
|---|---|---|
specs.width_band | Single line text, with preset choices | Under 60 cm, 60–120 cm, 120–200 cm, 200 cm and over |
To turn it into a filter:
- Create the metafield definition with the four values as preset choices.
- Set the band on each product. A 246 cm sofa gets
200 cm and over. - In the Search & Discovery app, add a filter for the Width band metafield.
Shoppers then see a Width group on collection pages and width bands on the search page, with counts. It works without JavaScript, and filtered pages have shareable URLs.
Without it, there is no native width filter. The width ruler on collection pages still works in the browser: it filters the loaded products by their exact width.
Tip: You can let a Shopify Flow workflow set the band from specs.width when a product is saved, so it never gets out of sync.
Pieces delivered in sections: package sizes
Some pieces arrive in parts or flat-packed and are assembled in the room. A 246 cm sofa delivered in two sections doesn't need a 246 cm wide passage.
| Metafield | Type | What it does |
|---|---|---|
delivery.package_width | Dimension | Width of the largest package |
delivery.package_depth | Dimension | Depth of the largest package |
delivery.package_height | Dimension | Height of the largest package |
Set all three on the product, or on a variant when packages differ by size. The door check on the product page, the cards, the cart and the delivery day section then use the largest package and say "Delivered in sections; the largest part needs …". The space check keeps the assembled size, because the piece has to fit the room once it's built.
Without them, the assembled size is checked against the door.
Delivery information
| Metafield | Type | What it does | Without it |
|---|---|---|---|
delivery.lead_time | Single line text, for example Ships in 2–4 weeks | The "Ships in" line and the made-to-order label | Hidden |
delivery.ships_min_days, delivery.ships_max_days | Integer | The bars of the cart's delivery plan | The theme reads the numbers from delivery.lead_time; if it can't, the plan shows text only |
delivery.method | Single line text | Delivery method on the product page and in the cart | Hidden |
delivery.assembly_required | True or false | The assembly row on the product page and in the cart | Hidden |
delivery.assembly_guide | File | Link to the assembly guide | Hidden |
Materials and samples
Materials are metaobjects: you create each material once, with a name, image, description and care instructions, and link it to products in specs.materials. Two optional fields on the material connect it to the rest of the store:
sample_product(product reference): adds "Order sample" to the materials board on the home page.collection(collection reference): shows "In N pieces" on the materials board.
A product can also link its own sample with specs.sample_product. See Metafields and metaobjects setup for the material definition.
What needs no product data
- Saved measurements. Shoppers enter their doorway and space once. The theme saves them in their browser and checks every piece against them. Nothing is stored in your admin.
- Room and site plans on the home page. You place pieces with block settings in the theme editor.
- The 404 and gift card pages.
Check your data
After you fill in a few products:
- Open a product page. You should see the spec strip, drawing thumbnails in the gallery and the drawing sheet.
- Open the measurements panel from the bar at the top of the page and enter a door of 80 × 200 cm. Product cards and the fit check update.
- Open a collection page and switch to To scale. Every piece stands on one floor line at the same scale.
If a drawing is missing, the product is usually missing one of specs.width, specs.depth or specs.height, or specs.drawing_type is set to none.