Hiding Collapsible Rows with a blank metafield

I have tried and looked around the entire shopify community and the web and can still not manage to find a clear good solution for hiding a collapsible row on a product if the metafield is blank. Please help.

Decor3_0-1676411646869.png

For example; the Apps collapsible row is still showing even though the apps (Sotftware) metafield is blank

Hi @Decor3

This is Victor from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


Hope this can help you solve the issue

Best regards,

Victor | PageFly

Thank you so much!

You guys never seem to ever disappoint me!

Hello Victor,

I tried this on my store but it hided only one collapsible row.

I have 2 of product custom metafields maybe I will add 3 more,

Could you help me to hide all of collapsibles if product custom metafield blank on product editor?

Thanks!

1 Like

I’m having the same issue, did you ever find the solution?