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

How to take off the size chart pop up for specific collections?

How to take off the size chart pop up for specific collections?

LuizaSMC23
Excursionist
25 0 5

Hi, I use Dawn Theme and I have set the size chart pop up below the price on the product page. But I don't want this size chart to appear in the accessories collection. How to take this off this collection and leave it just for the apparel?

shoptarz.com

 

LuizaSMC23_0-1732056626413.png

 

Reply 1 (1)

shahrozbabar5
Shopify Partner
262 22 31

Use Collection Handle Logic

If you prefer to base it on the collection directly, modify the condition as follows:

 

 
{% if 'apparel' in product.collections | map: 'handle' %} <!-- Your size chart popup code here --> {% endif %}
 

Replace 'apparel' with the handle of your Apparel collection. you can easily achieve this if you are code savvy. 

on the other hand, you need to hire someone to do this, let me know If I can assist you. Thanks

Need a Shopify Expert and Specialist? Let's chat on WhatsApp and bring your vision to life!


Custom Shopify Store Design | Premium Themes | Variant Apps Expert


Your Coffee Tip and my code, a seamless synergy. ❤️