Hello! I’m looking for help. I have this section of code added to my product pages, but I want to exclude it from a certain page. I thought maybe by using the unless code, but I’m unsure of how to change it while still keeping the ability of it to be hidden if the meta field is blank. I hope this makes sense. Please help!
Hello @MelanieGolden
you can exclude this by using “unless” and products handles like below code
{% unless product.handle contains ‘xyz’ or product.handle contains ‘xyz2’ or product.handle contains ‘xyz3’ %}
{% endunless %}
