block size chart button for certain products

amir0791
New Member
8 0 0

Hello, I am trying to figure out how can i show the Size Chart button only for the clothes products. I have a variety of products on my website and for some of them the Size Chart has no relevance. How can i block the size chart button for products that dont need a size chart. I am using wokiee theme. Thanks!

0 Likes
JHKCreate
Shopify Partner
2506 412 595

Hi @amir0791 

Can you differentiate products via their type?

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@jhkcreate.com
0 Likes
amir0791
New Member
8 0 0

Not really, the size chart that wokiee theme implemented has no options to differentiate the products. Seems like the only option is to use the size chart for all products or for none.

0 Likes
JHKCreate
Shopify Partner
2506 412 595

You can tag the products with size_chart_enabled

Then inside your product template liquid file encapsulate the size chart under the following condition:

{% If product.tags contains 'size_chart_enabled' %}

Size Chart Code Goes here.

{%endif%}

Let me know

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@jhkcreate.com
0 Likes