I have created a a tag for products that should not have a quick add button (no-quick-add).
I need help implementing this. Some of my products will redirect to a different site for purchase, so I don’t need the quick add button visible on those.
Website: https://unfilteredgrace.us/
Product that I want the quick add button removed from: Grove Sling Bag – UNFILTERED GRACE
I am using the Horizon theme.
Hi @unfilteredgrace,
Please go to Actions > Edit code > blocks > _product-card-gallery.liquid file and add conditions to display other links here:
If I helped you, then a Like would be truly appreciated.
1 Like
Thank you for your response. I have located the code. What do I need to input to simply remove the quick add button for products with the hide-quick-add tag
Hi @unfilteredgrace,
Please change code:
{% unless closest.product.tags contains 'hide-quick-add' %}
{% render 'quick-add', product: closest.product, section_id: section.id %}
{% endunless %}
1 Like