Product page: Size Chart adding metafield Error

Topic summary

Shopify product template showed dynamic source errors when adding a Size Chart via a product metafield, citing missing fields like product.metafields.custom.product_lookbook_images_* and blocking save/preview.

Setup: Size Chart/Guide pages with images were created and linked through a product metafield (type: Page), but the editor still errored. “Metafield” = custom data field; “Dynamic source” = a referenced data field used by the theme.

Guidance offered:

  • Option 1: Use a Theme Customizer pop-up section and bind the Page-type metafield to it.
  • Option 2: Create a dedicated size-guide metafield and render it via a custom section using Liquid (Shopify’s templating language) for per-product display.
  • Suggested reverting recent changes and verifying the metafield definition (type: Page). Screenshots confirmed definitions looked correct.

Diagnosis: Likely issue in the template code; requested a code review/debug as definitions appeared fine.

Outcome: Merchant later confirmed they identified and fixed the issue themselves (no specific fix shared). Status: resolved; no open questions or decisions pending.

Summarized with AI on December 29. AI used: gpt-5.

Product page: Size Chart adding metafield Error

Error Message:

To preview or save your changes, correct the dynamic source error(s) in the Default product template.

Dynamic source ‘product.metafields.custom.product_lookbook_images_50_.value’ does not exist., Dynamic source ‘product.metafields.custom.product_lookbook_images_33_.value’ does not exist., Dynamic source ‘product.metafields.custom.product_lookbook_images_50_b.value’ does not exist., Dynamic source ‘product.metafields.custom.product_lookbook_images_25_a.value’ does not exist., and Dynamic source ‘product.metafields.custom.product_lookbook_images_25_b.value’ does not exist.

https://niyrfr14dvxs935k-60319400135.shopifypreview.com

Thank you!

Hi Smsigroup,
You have image/s in your size chart right???

1 Like

@Dawood_Mirza_1

yes, i created a pages per size chart/guide, then uploaded images of the size chart/guide

then i created custom metafield, add the pages of the size chart/guide

and also getting this error

To preview or save your changes, correct the dynamic source error(s) in the Default product template.

Great! You have 70% work done already
So From what I have understood is you have meta field in which there is a page with image of size chart
One way is Use a pop-up section from customizer, it and link the metafield to it like in picture

Or second method would be creating a metafield with just the size guide and displaying this on product page with a custom section using liquid programming language this way it would be dynamic for every product

1 Like

and regarding the error, change everything back as it was, we’ll get this done from the customizer only!!!

1 Like

yes, but im getting an error

im unable to add the metafield size chart

can you add a screenshot of settings > custom data > metafields definition
I hope you are creating metafield correctly like selecting the type as page

1 Like

I guess, the template code might need a review or Code has to be debugged, this definitions has no problems.
I will have to go through the store and then I’ll be able to address

1 Like

thank you very much

@Dawood_Mirza_1

i already found the issues

Thank you for your help.