Basically, if a customer orders a knife then they need to be age verified in the cart, however the ‘checkout’ option on the cart drawer allows them to bypass that. How do I get it so the checkout option is hidden if a knife is added to the cart.
The checkout button being this one:
Website URL: cheffings.net
Knife products have tag: KNIFE-EMAIL
Hi @lukafernada avoid spamming labels it’s a good way to get ignored or more.
that requires an advanced theme customization modifying the cart-notification.liquid snippet and possibly javascript.
Reference https://github.com/Shopify/dawn/blob/main/snippets/cart-notification.liquid#L46
Wrap the form in an if condition using tags {% if product.tags. contains “tag-name” %}… {% endif %}
If behavior is inconsistent you’ll want to use a forloop to directly compare tags instead of a contains comparison.
If you need this customization then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.