How to Remove 'Quick Buy' from Specific Collection Page

I’m currently using Impact and this is the collection I want to hide ‘Quick Buy’ from: https://ariasound.co/collections/free-kits

I want the Quick Buy option to be hidden from only the ‘Free Kits’ collection page because I want customers to go into each product page before receiving the product.

What code should I use to achieve this?

Hey @NathanKim

I’m unable to locate the Quick Buy button on your collection pages, can you please confirm?

Best Regards,
Moeed

Sorry about that! I turned off the ‘Quick Buy’ option in theme settings. I turned it back on so it should be there now.

Hey @NathanKim

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag

{% for c in product.collections %}
{% if c.handle == "free-kits" %}

{% endif %}
{% endfor %}

RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @NathanKim ,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save

{% if handle contains "free-kits" %}

{% endif %}

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly