Guides

Size chart in Dawn: Pop-up block plus a Page metafield, step by step

A size chart in the Shopify Dawn theme is built from Dawn's "Pop-up" block in the "Product information" section, with its "Page" setting connected to a product metafield of type Page. We followed Shopify's tutorial in Dawn 16.2.0 and it worked: the "Size chart" link opened the page in a pop-up. Two catches from the test: products without a linked page still show the link and open an empty pop-up, and a template made in an unpublished theme cannot be assigned until that theme is published.

  • Template names in the "Create a template" dialog are limited to 25 characters.
  • New pages start as "Hidden"; the chart page must be set to "Visible".

Last checked:

Our test

The chart opened for the test tee and stayed empty for a shoe without a page

We created a product metafield "Size chart" of type Page, a page "Size chart" with the table written in HTML, and a product template "size-chart" in Dawn 16.2.0 with a "Pop-up" block whose "Page" points to that metafield. On BrandUp Test Tee the metafield was set to the page.

On the storefront the "Size chart" link opened the page content in a window centred on the screen in the 1440 px wide view and in a nearly full-width layer in the 390 px wide view. A second product, 'AeroFlex Running Shoe', had no page in the metafield: it showed the link anyway, and the pop-up opened empty. Because our Dawn copy was not published, we viewed the template through /products/brandup-test-tee?view=size-chart. One store, Dawn 16.2.0, 2 Dec 2026.

Step by step

Ten steps from metafield to working link

Carried out in Dawn 16.2.0 on 2 Dec 2026, in this order. The admin and editor screenshots further down follow the same order, from the metafield definition to the empty pop-up.

  1. Create the metafield definition

    "Settings" > "Metafields and metaobjects" > "Products" > "Add definition". Name: "Size chart". The admin showed the hint "Suggested standards: Pattern sizing system"; the definition got the namespace and key custom.size_chart.

  2. Set the type to Page

    "Select type" > "Page", leave "One" selected, "Save". The admin confirms with "Definition created".

  3. Write the chart page

    "Online Store" > "Pages" > "Add page". Title "Size chart", the table in Content (we used HTML), "Visibility" set to "Visible", then "Save".

  4. Start a new product template

    "Online Store" > "Themes" > Dawn > "Edit theme". Open the page selector, which shows "Default product", go to "Products" and click "Create template".

  5. Name it

    In the dialog "Create a template", enter the name "size-chart", keep "Based on" at "Default product" and click "Create template".

  6. Add the Pop-up block

    "Template" > "Product information" > "Add block" > "Pop-up". The new block lands at the top of the block list, above the product title; drag it to where the link should sit.

  7. Connect the Page setting

    Set "Link label" to "Size chart". Next to "Page", click the dynamic source symbol, choose "Template > Product" and then "Size chart". "Save".

  8. Link the page on the product

    "Products" > BrandUp Test Tee > "Product metafields" > "Size chart" > "Add", pick the page "Size chart", "Save".

  9. Try to assign the template

    Under "Theme template" only "Default product" was listed, because the template lives in an unpublished theme. This step is only possible once the theme is published.

  10. Check it in the preview

    Open /products/brandup-test-tee?view=size-chart in the theme preview and click "Size chart".

Dawn 16.2.0: metafield definition size chart page, Shopify admin, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (Shopify admin).
Dawn 16.2.0: editor template menu products, theme editor, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (theme editor).
Dawn 16.2.0: editor create template dialog, theme editor, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (theme editor).
Dawn 16.2.0: editor add block list, theme editor, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (theme editor).
Dawn 16.2.0: editor popup dynamic source, theme editor, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (theme editor).
Dawn 16.2.0: editor popup settings, theme editor, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (theme editor).
Dawn 16.2.0: product metafield size chart set, Shopify admin, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (Shopify admin).
Dawn 16.2.0: product theme template only live, Shopify admin, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (Shopify admin).
Dawn 16.2.0: size chart link, 1440 px wide view, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (1440 px wide view).
Dawn 16.2.0: size chart open, 1440 px wide view, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (1440 px wide view).
Dawn 16.2.0: size chart open, 390 px wide view, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (390 px wide view).
Dawn 16.2.0: size chart empty popup, 1440 px wide view, own test
Own test in the BrandUp test store, Dawn 16.2.0, 2 Dec 2026 (1440 px wide view).

Documentation and test

Four places where the tutorial and Dawn 16.2.0 did not match word for word

Shopify's Help Center tutorial on adding a pop-up size chart to product pages describes the method above and names one requirement, a theme that supports dynamic sources. It also warns that products on the template without a page reference still show the link with an empty pop-up, which is exactly what we saw. Dawn's public source code confirms the block: type popup, name "Pop-up", with the settings "Link label" and "Page".

The differences, each as documented and then as observed in Dawn 16.2.0. First: "From the Home page drop-down menu at the top of the editor, click Products, and then click ⊕ Create template". The menu carried the name of the open template, "Default product", and "Create template" opened an extra dialog with "Name" (25 characters at most) and "Based on". Second: "Go to the Template > Product information blocks, and then click ⊕ Add block. Click Pop-up." Correct, but the block appeared at the top, so the link stood above the product title. Third: "In the Visibility section, set the page as Visible." New pages were "Hidden" by default, so the step is needed. Fourth: "In the Theme template section, select the Size chart product page template that you created in step 2." The product's "Theme template" list showed only templates of the published theme.

Not tested

Keep the empty pop-up off products that have no chart

The empty pop-up only affects products that use the size-chart template without a page in the metafield. Assigning that template only to products that have a chart avoids it; we did not test hiding the link with code. Shopify's Help Center page on displaying metafields sets the limits for dynamic sources at 50 per text setting and 100 per template.

Not tested: assigning the template after publishing the theme, Dawn versions before 16.2.0, and more than one chart page. If a chart should be built inside the product page rather than as a separate page, a size guide section added by an app is the other route; it was not part of this test.

FAQ

Size chart questions for Dawn

Size Guide is in Section Store.

Set it up in the app builder and place it through the Section Store app block. No theme code.

Install on Shopify

Sources

Sources

Tested on 2 Dec 2026 in one test store with one test product and Dawn 16.2.0. Documentation as of 2 Dec 2026. Other theme versions can behave differently.