Removing checkout button from cart drawer

Solved

Removing checkout button from cart drawer

KilikOo
Tourist
3 0 1

Hello,

 

I am using Refresh theme and I would like to remove the checkout button from the cart drawer popup.

Any ideas ? I tried some code from other topic but it isnt working...

 

Have a good day !

Accepted Solution (1)

PageFly-Victor
Shopify Partner
7865 1785 3101

This is an accepted solution.

Hi @KilikOo 

 

You can try this code by following these steps:

Go to Online store => themes => actions => edit code  and add this code on file theme.liquid before tag </body>

 

PageFlyVictor_0-1675131034609.png

 

 

<style>

form#cart-notification-form {

display: none;

}

</style>

 

 

Hope this answer helps.

Best regards,

Victor | PageFly

View solution in original post

Replies 8 (8)

SomeUsernameHe
Shopify Partner
515 57 109

Do you have a store preview link?

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee

SomeUsernameHe
Shopify Partner
515 57 109
button#CartDrawer-Checkout {
display: none;
}

 

should work on refresh theme.

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
KilikOo
Tourist
3 0 1

In what file should I copy that ?

SomeUsernameHe
Shopify Partner
515 57 109

If you don't have a custom css file, then you can paste it at the bottom of base.css

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
noiavem
Visitor
1 0 0

thank you! 

PageFly-Victor
Shopify Partner
7865 1785 3101

This is an accepted solution.

Hi @KilikOo 

 

You can try this code by following these steps:

Go to Online store => themes => actions => edit code  and add this code on file theme.liquid before tag </body>

 

PageFlyVictor_0-1675131034609.png

 

 

<style>

form#cart-notification-form {

display: none;

}

</style>

 

 

Hope this answer helps.

Best regards,

Victor | PageFly

GemPages
Shopify Partner
5625 1261 1243

Hello @KilikOo 

 

You can follow these steps: 
1. Go to Online Store->Theme->Edit code

GemPages_0-1675133378611.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_2-1675133442153.png

 

<style>
     div#cart-notification #cart-notification-form {
        display: none;
    }
    </style>

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center