Dawn Theme: How to remove the Add-to-Cart popup

Solved
_hwi
Excursionist
14 0 4

Hi,

I'm using the new Dawn theme. I just wanted to ask for some help on how to remove the popup when the customer clicks the add-to-cart button from a certain product page. I want it to go directly on the cart summary page without any popup. Thank you.bandicam 2021-09-06 17-48-04-566.jpg

Accepted Solution (1)

Accepted Solutions
dct90248
Tourist
3 1 1

This is an accepted solution.

I did it pretty simple way.

 

Just edit code

component-cart-notification.css

 

and just change this code on the 5th row

 

.cart-notification-wrapper .cart-notification {
display: block;
}

 

to this:

 

.cart-notification-wrapper .cart-notification {
display: none;
}

View solution in original post

Replies 28 (28)
himanshuhkm
Explorer
77 9 16

Hi @_hwi 

Look into the Theme Setting there will be an option for the hide the popup

 

if you have any problem please provide your store url i will send access request to your store and i can look into for free

 

thank you

If helpful then please Like and Accept Solution.
Want a shopify store or custom changes on store Hire me.
Feel free to contact me on hk.maurya1981@gmail.com
Shopify Partner | Founder - MR Software Labs
Zworthkey
Shopify Partner
5581 641 1503

@_hwi 
kindly Share your Site url.
so i will check and fix it.

Thank you.

If helpful, please Like and Accept Solution. Hire Us |
if you Want to modify or Customize your theme | Whatsapp | Email us: sales@zworthkey.com
Top Rated Shopify Agency, | We have Over 200+ Happy merchants.
Build Successful Shopify Stores with GemPages
RC7
Excursionist
18 1 2

I'm also wondering the same.

 

This doesn't seem to be something that can be deactivated in the theme customizer, or at least I didn't find the option.

PaulNewton
Shopify Partner
4211 303 901

@_hwi , @RC7 is a reported feature https://github.com/Shopify/dawn/issues/650 

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
RC7
Excursionist
18 1 2

@PaulNewton Maybe I'm misunderstanding the reported feature but I think the peson says that they want this feature and not the ability to disable it, no?

PaulNewton
Shopify Partner
4211 303 901

@RC7 wrote:

@PaulNewton Maybe I'm misunderstanding the reported feature but I think the peson says that they want this feature and not the ability to disable it, no?


Your probably right it's poorly written, so 90/10 it's either since the feature is in already in the theme though they could also mean a cart drawer /sigh.

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
yahye
Tourist
5 0 1

I have the same problem too for a while now, tried doing myself but didn't work

amorlett
Pathfinder
85 4 15

there is an easy way and a complex way. For the easy way to click assets go to component-cart-notification.css locate the cart-notification.active and change the visibility to hidden. The more complex way is to simply get rid of all the cart-notification liquid files but I haven't had time to test that so make sure you backup your theme !!! 

RC7
Excursionist
18 1 2

Hi @amorlett 

Thanks so much! That does work, but the issue is it doesn't redirect me to cart. I think I forgot to mention that, but the idea is to send the user to the cart page from the product page when he clicks the ATC button. How can I achieve that?

amorlett
Pathfinder
85 4 15

you can't really without knowing a ton of javascript basically you have to route your product.js to the carts page, it's easy to do if you change the onclick event in javascript ... again this might mess up other functionality inside Dawn so back up your theme!

 

yahye
Tourist
5 0 1
Hey just wanted help real quick I’ve changed from visible to hidden but just my sticky add to cart works not the usual one?
amorlett
Pathfinder
85 4 15

not sure what you mean, If when you click on the cart it should go to /carts page. If not you probably changed something else 

yahye
Tourist
5 0 1

It’s not working for me. When I change to hidden and then click add to cart nothing happens at all not even the notification comes up. So what can I do?

yahye
Tourist
5 0 1
Hi can’t seem to make the the add to cart notification disappear still
Zworthkey
Shopify Partner
5581 641 1503

@yahye Kindly Share your Store URL so I can help you.

If helpful, please Like and Accept Solution. Hire Us |
if you Want to modify or Customize your theme | Whatsapp | Email us: sales@zworthkey.com
Top Rated Shopify Agency, | We have Over 200+ Happy merchants.
Build Successful Shopify Stores with GemPages
tkogiah
New Member
8 0 0

I’m having a related issue but for me when a customer is logged in (I have the popup hidden) it will automatically go to cart and I don’t want it to. It’s weird that y’all are having the opposite problem.

amorlett
Pathfinder
85 4 15

it's all related to javascript on where the click is pointing to on a click of the buy button it goes to cart-notification... to really take off cart notification you have to delete this file and the Javascript without getting super into Javascript simply hiding it in CSS should still make everything work this may not work on all browsers in that case, yeah your going to have to find the Javascript connected with this and change it to default to false *** again this might mess up other functionality and or features *** I  haven't had time to play around with dawn to much 

KG1982
Tourist
3 0 1

Hi there, I am having the same problem...I cant seem to find any place to deactivate it...none of the other recommendations work with Dawn.

 

site url is  sketchthedress.myshopify.com

password is 'test' 

 

your help would be greatly appreciated 

 

tkogiah
New Member
8 0 0

Hey there KG1982, what seems to be the specific issue you’re having? Are you wanting the pop up that notifies that the cart has been added to removed or something else?