Shopify themes, liquid, logos, and UX
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.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025