Skip to main content
Woocommerce

Hide View Cart Button Mini Cart on WooCommerce

By September 4, 2023September 18th, 2023No Comments1 min read

If you want your customer go to checkout page straight after adding product to cart then you can do it easily to hide View Cart Button from Mini-Cart On WooCommerce like below screenshot.

View Cart button will remove

Caption: View Cart button will remove

To hide View Cart button from Mini-Cart you need add some custom code which is below code snippet:

You can add this code snippet to using any thid-party plugin seems like this ( https://wordpress.org/plugins/code-snippets/ ) or also you can add those code

On your child theme functions.php file.

By the way, after successfully added this code you will see that, View Cart button will hide from Mini-Cart like below screenshot.

View cart button remove from Mini-cart

View cart button remove from Mini-cart

Leave a Reply