Is there a way to hide an entire section of a template if the content is blank? We have a food store. Some of the products have featured recipes (populated via product metafields) and some do not.
I know I could create PDP templates for products with recipes vs. no recipes, but we would ideally like to keep it as easy as possible. That way if we do end up adding recipes to a product, we won’t have to remember to switch the template.
The section is called “promotion with cards.” The theme is Local by Krown Themes. Is there a way to code in a rule that if the cards aren’t filled out, the whole section is hidden? Thanks in advance!

