Shopify themes, liquid, logos, and UX
Hi, I have a product that has a metafield called "Child category". The problem I am facing right now is, that I need to dynamically hide the "Featured Collection" section based on if the value of "Child category" is filled or no.
Eventually, I would like to have an else statement. So in pseudocode it would look something like this:
if product.childCategory has value:
Show Featured Collection
Hide Related Products
else
Hide Featured Collection
Show Related Products
How can I achieve this? I am using a custom template based on Dawn 13.0.
Thanks
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025