What you’ll need

  • Your measurements (in cm or inches)

  • Shopify’s free GraphiQL app (with write_metaobject_definitions, write_metaobjects access)

    How to get this: Shopify’s free GraphiQL app
    1. Install it once from shopify-graphiql-app.shopifycloud.com: enter your store address, tick the access listed here, click Install and approve.
    2. Then open it any time from Apps › Shopify GraphiQL App in your admin.

    Step-by-step guide (opens in a new tab)

  • Your products export CSV (to give each product its chart)

    How to get this: Your products export CSV
    1. Products › Export › All products › Export products.
    2. Small exports download; big ones arrive by email.

    Step-by-step guide (opens in a new tab)

  • A duplicate of your theme to test on

    How to get this: A duplicate of your theme to test on
    1. Online Store › Themes › … on your theme › Duplicate.
    2. Make the change on the copy, preview it, and publish only when it works.

    Step-by-step guide (opens in a new tab)

1Your size charts

New here?

Chart 1

Exactly as in Shopify, e.g. the product type “T-Shirts”.

First row = headings, first column = sizes. Tabs (from Excel or Google Sheets), commas or semicolons all work. Ranges like 86-91 are fine.

3Give each product its chart

In Shopify go to Products › Export, choose All products and the plain CSV. Load it here: products are matched to charts by the rules you set in step 1.

No export handy?

Import it under Products › Import with Overwrite products with matching handles ticked. Import the 1-product test file first and check that product’s Size chart field.

4Add the pop-up to your theme

Units
  1. Online Store › Themes › … › Duplicate, then Customize the copy.
  2. Open a product page. In Product information (Dawn) or Product details (Horizon), click Add block › Custom Liquid.
  3. Paste the code below, save, and drag the block under the price or the variant picker.
  4. Preview a product that has a chart, then publish the copy.

How it works

  1. Paste each chart from a spreadsheet and say which products use it.
  2. Run three short GraphQL steps in the Shopify GraphiQL app to save the charts.
  3. Load your product export and import the assignment file it gives you.
  4. Paste one Custom Liquid block into your product page on a theme copy.
  5. Preview, then publish.

Guides

Questions

Do I need an app?

No. Charts are stored in Shopify as metaobjects, each product points to its chart with a metafield, and the pop-up is a Custom Liquid block you paste in the theme editor. Nothing to install and nothing to pay.

Which themes does it work with?

Any Online Store 2.0 theme with a Custom Liquid block on the product page, which includes Dawn and Horizon.

Will the CSV import change my products?

Only the Size chart field. The file has just Handle, Title and the Size chart column, and Shopify keeps every column that isn’t in the file. The import preview shows “Default Title $0.00”: that’s only the preview; variants and prices aren’t changed.

Can shoppers switch between cm and inches?

Yes. Each chart is saved in both units (converted for you; inches to the nearest quarter, cm to the nearest half) and the pop-up has a cm / in switch. You choose which one shows first.

What if a product has no chart?

The block shows nothing on that product, so you can add it to every product page.

Is my product list uploaded?

No. Your export is read in this browser tab only.

Based on Shopify’s metaobjects guide, Custom Liquid blocks and product CSV guide.