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
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024