Hi! I’m currently working with the November theme. I have a certain collection that displays items that link to an affiliate I’m working with. Currently, when I’m within this specific collection (I set up a special collection template for this collection) and I hover over an item, listed in the grid displaying all my products in this collection, I’m shown options to “Quick Shop” or “Add To Cart”. Is there a way for me to remove these button on this Collections page, altogether? I’m attaching a screenshot (below) for reference. I’d be eternally grateful for any help!
Thanks!
yes you can with css can you please give me link of your store to help you with
…and thank you very much, in advance!!
I don’t find anything in my email
If you want to hide quickBuy or Add to cart on a specific collection you have to add liquid if condition code in markup otherwise hidden by CSS, if add CSS class in a specific collection
Hi,
A very good question
Add this please in collection.liquid template
{% if collection.handle ‘your_collection_handle’ %}
quick_view_class{
display:none
}
{% endif %}
If helpful then please Like and
Accept Solution.> Do you need custom changes on store ? please send me a personal message and we can discuss.> Email: contact@ngnloop.com
4 Likes
Please check this solution, I think it will be an accepted solution.
2 Likes
Thank you. I’ll try it now.
1 Like
Hi. I have tried putting this code in as many different places as I could think to, but still, I’m having no luck.
Our theme (November) uses a variety of different templates for the Collections pages. This Collection is called “Wine”, so I put that in the section of your recommended code, where it says ‘your_collection_handle’. I’ve tried it in the default collection.liquid file and all of the other templates, but I’m still seeing the Quick Buy links.
Thank you all for your help so far. I very much appreciate it!
@Mo_Admin You can use this code in collection.template4 then let me know hope it will work
{% if collection.handle == 'wine' %}
{% endif %}
I really must be doing something wrong. Again, I pasted the code into every different template and then applied each one, but with no luck. It really baffles me…
@Mo_Admin sorry for that but the code is worked for me. can you give me store access to solve that issue? I can fix your issue in free.
You can knock me in whatsapp 01761469797.
Can you tell me what country you’re in? I guess I need to know that to enter the number into What’s App.
I also sent you a message on here. Thanks in advance!
Alex
I’m from Bangladesh. Checked your message and replied to you.
1 Like
Hi there @solverStaff - I’ve tried your solution and sadly it’s not working on my site. Mind taking a look? Trying to hide quick shop on this specific collection: https://www.thewoodenpalate.com/collections/collaborations. I’ve tried the method you’ve suggested as well as the alt method I could find via the forum here which was by utilizing tags, but that wasn’t working either when used within collections.liquid. Any help is appreciated!