Product page: Size Chart adding metafield Error

smsigroup
Explorer
60 0 17

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!

Replies 10 (10)

Dawood_Mirza_
Excursionist
98 15 23

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

 

Want to work with me - dawoodmirzabusiness@gmail.com
Don't forget to like and mark it as Solution if it was helpful to you.
smsigroup
Explorer
60 0 17

@Dawood_Mirza_ 

 

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.

Dawood_Mirza_
Excursionist
98 15 23

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
Screenshot 2024-05-08 193252.png

 


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 

Want to work with me - dawoodmirzabusiness@gmail.com
Don't forget to like and mark it as Solution if it was helpful to you.
Dawood_Mirza_
Excursionist
98 15 23

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

 

Want to work with me - dawoodmirzabusiness@gmail.com
Don't forget to like and mark it as Solution if it was helpful to you.
smsigroup
Explorer
60 0 17

yes, but im getting an error

 

im unable to add the metafield size chart

Dawood_Mirza_
Excursionist
98 15 23

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

Want to work with me - dawoodmirzabusiness@gmail.com
Don't forget to like and mark it as Solution if it was helpful to you.
smsigroup
Explorer
60 0 17

5D15AE71-B53C-45CC-B7E4-03EA85912916.jpeg

544C6CC0-6411-4436-BD55-66AC863D48D7.jpeg

Dawood_Mirza_
Excursionist
98 15 23

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

 

Want to work with me - dawoodmirzabusiness@gmail.com
Don't forget to like and mark it as Solution if it was helpful to you.
smsigroup
Explorer
60 0 17

 

thank you very much

smsigroup
Explorer
60 0 17

@Dawood_Mirza_ 

i already found the issues

Thank you for your help.

smsigroup_0-1715209447501.png