What's your biggest current challenge? Have your say in Community Polls along the right column.

Help Needed: Unique Size Charts Not Displaying Correctly on Product Pages

Help Needed: Unique Size Charts Not Displaying Correctly on Product Pages

MonMatelier
New Member
4 0 5

Hi everyone,

I'm facing an issue with my website that I can't seem to resolve. I have unique size charts for each product, and I want to display them in a collapsible row on the product information page. However, instead of showing the specific size chart for each product, the same size chart is being displayed across all product pages, which is incorrect.

Here’s what I’ve done so far:

  1. I created individual size chart pages.
  2. I set up metafield definitions for these size chart pages.
  3. I connected the metafields to the respective products.

Despite this, when I try to link the size charts as a dynamic source in my collapsible row, only one chart appears on every product page, regardless of the metafields assigned to the products.

Can anyone help me understand what I might be missing or doing wrong?

Thank you in advance!

Replies 3 (3)

Eric-HAN
Shopify Partner
260 29 27

you should use liquid in your product page  to  show product  size chart metafield.

To link a product and its metafield in a product page using Liquid in Shopify, your can refer below code  and paste them into your

main-product.liquid

 

 

{% assign specificMetafield = product.metafields.namespace.key %}

{% if specificMetafield %}
  <p>Specific Metafield Value: {{ specificMetafield }}</p>
{% endif %}

 

 

- Helpful? Please hit Like and mark it as a solution
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me    Buy Me A Coffee

DaisyVo
Shopify Partner
1024 130 144

Hi @MonMatelier 

 

Could you please share with me the place where you put the size chart and where you set it up?

 

Best,

 

Daisy

 

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

whyshop
Shopify Partner
27 6 1

Follow these steps:

1、add "collapsile row" section, and link two metefileds to the row content

20241122143027.jpg20241122143006.jpg

 

2、edit two  products,make sure the metafields values are unique.

20241122143717.jpg20241122143659.jpg

3、that works well.

 

20241122144055.jpg20241122144008.jpg

 

 Feel free to let me know if you want me to help you out.If I managed to help you then, don't forget to Like it and Mark it as Solution!

Best Regards,
Whyshop

Need a Shopify Specialist? Chat on WhatsApp
Contact iwhyshop@gmail.com for the solutions you need
Problem Solved? ✔Accept and Like solutions to help future merchants
Follow me on Facebook iwhyshop, Susbcribe to my YouTube iwhyshop.Author of app"Ws Instant Bulk Editor"-Batch edit prices instantly without complicated tasks