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.
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.
Set the type to Page
"Select type" > "Page", leave "One" selected, "Save". The admin confirms with "Definition created".
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".
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".
Name it
In the dialog "Create a template", enter the name "size-chart", keep "Based on" at "Default product" and click "Create template".
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.
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".
Link the page on the product
"Products" > BrandUp Test Tee > "Product metafields" > "Size chart" > "Add", pick the page "Size chart", "Save".
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.
Check it in the preview
Open /products/brandup-test-tee?view=size-chart in the theme preview and click "Size chart".












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
The product uses the template with the "Pop-up" block but has no page in its "Size chart" metafield. In Dawn 16.2.0 the link still shows, as it did on 'AeroFlex Running Shoe' in our test. Set the metafield or move the product back to the default template.
Nothing in the template. In our test the list only offered templates of the published theme. Publish the theme first, or check the result with ?view= and the template name in the preview URL.
Yes, that is the point of the metafield: create one page per chart and pick the matching page in each product's "Size chart" metafield. The block on the template stays the same.
Drag the "Pop-up" block down in the "Product information" block list. Dawn 16.2.0 inserted it at the top in our test.
Related
Related guides
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.
Sources
Sources
- Own test in the BrandUp test store, Dawn 16.2.0 · as of 2026-12-02
- BrandUp Shopify theme sample, 10,119 shops, 30 Oct to 30 Nov 2026 · as of 2026-12-02
- Shopify Help Center: Adding a pop-up size chart to product pages · as of 2026-12-02
- GitHub Shopify/dawn sections/main-product.liquid (main, theme_version 16.2.0) · as of 2026-12-02
- Shopify Help Center – Displaying metafields on your online store · as of 2026-12-02
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.