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.
@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.
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 !!!
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?
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!
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?
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.
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
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?