Skip to Content

Size Guide

Use this guide to create product-specific size charts that appear inside the Product template Size guide drawer. Fit Check reads a Shopify Size Chart metaobject through the product metafield custom.size_chart, then the Size guide table block renders the assigned chart with an inches/centimeters toggle.

Use one Product template when the product page layout stays the same. Create different Size Chart entries for jeans, tops, shoes, accessories, or individual products.

Setup Order

  1. Create the Size Chart definitionIn Shopify admin, create a Size Chart metaobject with the exact fields Fit Check reads.
  2. Create chart entriesAdd one entry per sizing system or product-specific chart, using pipe-separated headers and rows.
  3. Connect productsCreate the Product metafield custom.size_chart and select the matching Size Chart entry on each product.
  4. Enable the theme blockIn the theme editor, set Size guide data source to Product size chart metaobject on the Size guide table block.
  5. Preview the drawerOpen the Size guide drawer on a product page and check the source table, converted table, and mobile layout.

Create the Size Chart Definition

In Shopify admin, go to Settings > Custom data > Metaobjects and create a metaobject definition named Size Chart.

Shopify admin Size Chart metaobject definition showing Title, Source unit, Headers, Rows, Fit note, and Measurement note fields.
The Size Chart definition needs the fields Fit Check reads: title, source_unit, headers, rows, fit_note, and measurement_note.

Add these fields:

Field nameField keyTypeRequiredWhat it controls
TitletitleSingle line textYesChart title shown in the Size guide drawer.
Source unitsource_unitSingle line textYesUse inches or centimeters.
HeadersheadersSingle line textYesPipe-separated column labels, without units.
RowsrowsMulti-line textYesOne pipe-separated row per line.
Fit notefit_noteMulti-line textNoOptional fit guidance below the table.
Measurement notemeasurement_noteMulti-line textNoOptional measuring guidance below the table.

Use Title as the display name field when Shopify asks which field should identify entries. If Shopify shows a generated type under the metaobject name, you do not need to copy that value into Fit Check.

Enter Chart Content

Create a Size Chart entry for each chart your products need. Keep headers without units because Fit Check adds (in) or (cm) based on the selected unit.

Example:

FieldExample value
TitleJeans size chart
Source unitcentimeters
Headers`Size
Rows`24
Fit noteRuns true to size.
Measurement noteMeasurements are body measurements in centimeters.

Rows must use the same number of values as the headers. The first column is the size label and is not converted. The remaining columns are measurement values.

Connect Products

In Shopify admin, go to Settings > Custom data > Products and create a Product metafield:

SettingValue
NameSize chart
Namespace and keycustom.size_chart
TypeMetaobject reference
ReferenceSize Chart

Open a product, find the Size chart metafield, and select the matching entry.

Shopify product metafields panel showing the Size chart metaobject field with a Jeans size chart entry selected.
Each product chooses the Size Chart entry it should use. The same Product template can serve different garment categories.

Use different entries for different product groups:

Product typeSuggested entry
JeansJeans size chart
T-shirts, shirts, jacketsTops size chart or a more specific tops chart
ShoesA shoe-size chart entry
One-off productA product-specific chart entry

Enable the Theme Editor Block

In the theme editor:

  1. Open the Product template that contains the Product details section.
  2. Open the Size guide drawer link.
  3. Select the Size guide table block.
  4. Change Size guide data source from Manual to Product size chart metaobject.
  5. Choose what happens when a product has no chart:
    • Show manual table keeps the block’s fallback table visible.
    • Hide size guide hides the table when no product chart is assigned.
  6. Save the theme.
Fit Check theme editor showing the Product details Size guide drawer with the Size guide table block selected and its data source controls visible.
The Product template owns the drawer placement. The Size guide table block owns the table content, fallback table, source-unit labels, row count, and column count.

The default Product template can keep a manual fallback table. Once a product has a custom.size_chart value and the block uses Product size chart metaobject, the product’s Size Chart entry controls the rendered table.

Unit Conversion

Fit Check reads source_unit from the Size Chart entry:

Source unitFirst tableToggle table
inchesInchesCentimeters
centimetersCentimetersInches

Number ranges are supported, including 32-34, 32–34, and 32 to 34. Use measurement values in the measurement columns and keep text labels in the first column.

Publish Checklist

StateWhat to confirm
Metaobject definitionThe field keys are exactly title, source_unit, headers, rows, fit_note, and measurement_note.
Product metafieldThe metafield is custom.size_chart and references the Size Chart metaobject.
Product assignmentAt least one product has a Size Chart entry selected.
Theme editorThe Size guide table block uses Product size chart metaobject.
Fallback behaviorProducts without a chart either show the manual table or hide the size guide, depending on the block setting.
Storefront drawerThe Size guide drawer opens, the table headings are readable, and the unit toggle converts values correctly.