Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: "quick add" button on only one collection in Dawn

Solved

"quick add" button on only one collection in Dawn

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
10261 2039 2110

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 solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 5 (5)

PaulNewton
Shopify Partner
7450 657 1565

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.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


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

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


Dan-From-Ryviu
Shopify Partner
10261 2039 2110

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 solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

PaulNewton
Shopify Partner
7450 657 1565

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

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


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

Answers powered by coffee Thank Paul with 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
10261 2039 2110

You are most welcome!

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.