Size chart pop up - hide when not connected (Dawn)

I used the standard tutorial to add a size chart to product page in Dawn theme: add metafield and connect it to the page with sizes. Then make it a pop up on the product page.

It works great, but I need one customization that would help with products that don’t have sizes that need a chart.

Is there a way to hide that link/pop up on product page if in the product backend I didn’t connect the Size Chart to a page to pull data?

Hi @victory81 ,

I’m unsure about the specific tutorial you’re currently using to craft a size chart, but I can offer a potential alternative solution.

Consider an alternative approach by utilizing the Easify Product Options, a free app :blush: . This method involves creating your Size Chart through the Modal popup option type, allowing you to effortlessly assign it to any applicable products based on your preferences. To illustrate, here’s a demo:

  • Storefront:

  • App Settings:

It would be too much to install an app and slow down the store for something like this. Thank you.