Taste Theme - How do I hide collapisble tab when no content?

Hi Taste Theme Support team,

Is it possible to hide the product collapsible tab when there is no tab content for that product?

Thanks

Frank

Hey, @lazecbd

I’m not formally trained in code to provide you with an exact solution to hide the collapsible tabs when there is no content. However, I’m confident one of our Shopify experts would be able to accomplish this at a reasonable price.

Just wanted to share this as an option in case you are unable to find a coding solution in your thread. If there is anything else I can help you with, please let me know.

hi Lazecbd,

go to online store > theme > ‘…’ button on your live theme > edit code

then, in the main-product.liquid file, look for this code:

and replace it with

{% if block.settings.content != blank or block.settings.page.content != blank %}
              
                
              

            {% endif %}

let me know if it works

That worked perfectly. Thank you so much Uhrick.