How Could I Remove The Popup Cart on Craft Theme?

I’m using Craft theme.

When customer clicks on add to cart, the cart will drawer pop up.

Any way we can remove this popup?

I want the customer go to the cart page directly when they click on add to cart.

I have tried the different way, but I can’t still solve this problem.

Thanks.

1 Like

@smtkrdmn

div#cart-notification {
    display: none !important;
}

Add this code in the bottom of the component-cart-notification.css file.

  1. Navigate to Online Store->Theme->Edit code
  2. Asset->/component-cart-notification.css ->paste above code at the bottom of the file.
  3. Save it.
    Let me know if you need any more help,
    Thank you
1 Like

Hi @smtkrdmn ,

You can follow the instruction below:

  1. Go to Online Store->Theme->Edit code
  2. Asset->/component-cart-notification.css->paste below code at the bottom of the file:
div#cart-notification {
    display: none !important;
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

Best regards.

Thanks for it. Pop-up disappeared but not go to cart page directly.

Is there any code about it?

1 Like

@smtkrdmn
Kindly try out this app.
https://apps.shopify.com/one-click-checkout

1 Like

Solved my cart popup being transparent and couldn’t find a place in any code where the background color could be changed to like white or the hex for white. Otherwise you can see right thru the popup to the product page below. So, this code removed the popup. Thanks!

did not work