Add a specific pop up chart size by product type

Solved
Highlighted
New Member
8 0 0

Hi! I added a size chart button in my product page but I need to connect it to different size charts depending on the product the clients are visualizing. 

I followed these steps

https://shopify.dev/tutorials/customize-theme-add-size-chart and successfully added the button and the pop up, but how can I connect different chart size depending on the product? Not having a general one.

 

Thank you!

0 Likes
Highlighted
Shopify Partner
884 184 207

There is link available in same article which will help you to achieve this Product Type Size Chart
And it will be more clear if you understand the line no.2 in code 
{% assign chart = product.type | handleize | append: "-size-chart" %}

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes
Highlighted
New Member
8 0 0

Thanks Guleria.

I did add the Product Type Size Chart code and do get that code line, but even though I followed those steps and made a size chart for each product type and put the product type at the beginning of the size chart page title and handle its not working.

0 Likes
Highlighted
Shopify Partner
884 184 207

This is an accepted solution.

If you provide store access, I'll check it because without it its not possible to provide solution.
You can use my email to send staff account invite.

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes
New Member
8 0 0

Thank you!

0 Likes
Highlighted
New Member
2 0 0

Hi! I am having the same issue :(, you think you can help me please? 

0 Likes
Highlighted

Check out our app Best Fit - Size Charts. We have 100% 5 star reviews. 

You can easily set up size charts for different products/ collections

 

0 Likes