New Shopify Certification now available: Liquid Storefronts for Theme Developers

"quick add" button on only one collection in Dawn

Solved
steve131
Visitor
2 0 1

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?

Accepted Solution (1)
Dan-From-Ryviu
Shopify Partner
5673 1044 1069

This is an accepted solution.

Hi @steve131 

You can create a new collection template for that collection so you can enable quick add for it only Screenshot 2023-10-09 at 09.50.24.png

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-templa...

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

View solution in original post

Replies 5 (5)
PaulNewton
Shopify Partner
5931 537 1241

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-t... 

 

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.

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


Dan-From-Ryviu
Shopify Partner
5673 1044 1069

This is an accepted solution.

Hi @steve131 

You can create a new collection template for that collection so you can enable quick add for it only Screenshot 2023-10-09 at 09.50.24.png

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-templa...

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

PaulNewton
Shopify Partner
5931 537 1241

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

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


steve131
Visitor
2 0 1

Of course! Brilliant thank you 🙂

Dan-From-Ryviu
Shopify Partner
5673 1044 1069

You are most welcome!

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now