"quick add" button on only one collection in Dawn

Hi there,

I am trying to enable the “quick add” button on only one collection in Dawn theme but enabling quick add seems to add it to every product on the website. Is there any way of enabling it on one collection only?

You need to either:

  • modify the logic of the collections card-product.liquid snippet so the quick add form isn’t even rendered to the frontend
  • or use a CSS bandaid in a custom-css setting with an alternate templates. The form will still be sent to the frontend but not displayed.

CSS example for all the other collections to now show the quick add form:

.quick-add product-form { display: none; pointer-events: none; }

https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/add-css

https://help.shopify.com/en/manual/online-store/themes/os20/theme-structure/templates#create-a-new-template

If you need this customization setup then contact me directly by mail for services.
Please always provide context, examples: store url, theme name, post url(s) , or any further detail.
Contact Info in signature.

Hi @steve131

You can create a new collection template for that collection so you can enable quick add for it only

You can check this article to learn how to create a new template

https://help.shopify.com/en/manual/online-store/themes/theme-structure/templates#create-a-new-template

@steve131 Use @Dan-From-Ryviu 's answer, Dawn does have the setting per template, not as a global that would have to be customized.

Of course! Brilliant thank you :slightly_smiling_face:

You are most welcome!