There are two ways that you can go about removing the WooCommerce Cart Icon from the header. You can either use a plugin or edit your themes functions file.
Using a Plugin:
One way to go about this is by using the WooCommerce Menu Bar Cart plugin. Once installed and activated, head over to Settings and select Menu Bar Cart.
From here, simply check Disable Cart Icon and then click Save Changes.
Editing Your Themes Functions File:
If you would rather not use a plugin or if one isn’t available for your current theme, then another way is by editing your themes functions file.
Simply add these lines of code:
function my_custom_function() {if ( is_plugin_active( 'woocommerce/WooCommerce.php' ) ) {remove_action( 'storefront_header', 'storefront_header_cart', 60 );}}
add_action( 'init', 'my_custom_function' );
Once you’ve added this code to your functions.php file, save it and upload it to your server. The WooCommerce cart icon should now be removed from the header on your site.
9 Related Question Answers Found
If you’re running a WooCommerce store, you might want to remove the cart icon from the header. There are a few reasons why you might want to do this:
Maybe you don’t want to encourage customers to add items to their cart until they’re ready to checkout. Or, maybe you’re running a membership site and don’t want members to be able to add items to their cart.
It’s no secret that WooCommerce is one of the most popular eCommerce platforms on the web. And one of the things that makes it so popular is its flexibility. You can customize just about anything in WooCommerce, including the “Update Cart” button.
It’s no secret that the Add to Cart button is one of the most important elements on a WooCommerce product page. After all, it’s the button that allows customers to add your products to their shopping carts! However, there may be certain circumstances where you need to remove the Add to Cart button from your product pages.
When you add a product to your shopping cart in WooCommerce, a message appears at the top of the page that says “Product has been added to your cart“. This message can be styled using CSS, but if you want to remove it completely, you can do so with a simple plugin or by editing your theme’s code. Here’s how to remove the WooCommerce “Product has been added to your cart” message:
Install and activate the “Remove Add to Cart” plugin.
Removing the add to cart button in WooCommerce is simple. There are two ways to do it:
The first way is to edit the code in the functions.php file of your child theme. You can add the following line of code:
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );
The second way is to use a plugin like WooCommerce Product Disable.
When you first install WooCommerce, the shopping cart function is enabled by default. This means that when a customer adds an item to their cart, they are taken to the shopping cart page where they can review their items, make changes if necessary, and then proceed to checkout. However, there may be times when you want to disable the shopping cart function altogether.
If you’re running a WooCommerce store, you might want to remove the “Add to Cart” button on certain products. For example, you might be selling an event ticket where people need to register first, or a service that can’t be purchased online. In this article, we’ll show you how to remove the Add to Cart button in WooCommerce.
Are you using WooCommerce to sell products on your WordPress site? If so, you may have noticed that the default shopping cart icon in the header menu is a little plain. Fortunately, it’s easy to change the shopping cart icon in WooCommerce.
If you’re using WooCommerce to sell products on your WordPress site, you may want to know how to remove a shipping address from the cart. By default, WooCommerce will add the customer’s shipping address to the cart, but there are times when you may want to remove it. For example, if you’re selling digital products that don’t require shipping, or if you’re using a different shipping method that doesn’t require an address.