How to Remove the Add to Cart Button from Your WooCommerce Store

WooCommerce, by default, places simple “Add to Cart” buttons on the category and product pages of your site. There is no way within the WooCommerce admin interface to hide or disable these buttons from being displayed. So if you want to prevent your items from being purchased you are going to have a hard time coming up with an easy solution.

WooCommerce Add to Cart Button
An example Add to Cart Button in WooCommerce

Thanksfully, it is possible to remove all of the “Add to Cart” buttons on your site to temporarily stop your visitors from being able to buy anything on your WooCommerce store. There are two ways to go about taking care of this: one involves inserting some code into one of your theme’s files and the other uses our Remove WooCommerce Features plugin.

Remove the Add to Cart Button with Code

If you are familiar with the basic inner workings of WordPress themes you can remove the add to cart buttons from your store by inserting a few lines of code. Open up the functions.php file in your theme’s directory in any text editor you prefer and insert the following:

add_filter( 'woocommerce_is_purchasable', 'my_remove_add_to_cart_button', 10 );
function my_remove_add_to_cart_button() {
    return true;

Modifying theme files and writing and testing code certainly isn’t for everyone. You can find a web developer or WordPress expert to make this change for you but keep in mind that any edits that are made to your theme will have to be re-done if the theme receives any updates.

Disable the Add to Cart Button with Remove WooCommerce Features

You can remove “Add to Cart” buttons from your store in seconds with our Remove WooCommerce Features plugin. After purchasing and installing the plugin simplly follow these three steps.

Step #1

Go to the WooCommerce section of your WordPress installation’s admin menu and click the link that says “Remove Features.”

WooCommerce Admin Menu

Step #2

Find the setting for “Add to Cart Button” and click the checkbox so that it’s marked like so:

Remove WooCommerce Features - Add to Cart Button

Step #3

Press the “Save Settings” button.

Save Settings Button

That’s it. Your store will immediately be updated and all of the “Add to Cart” buttons will be gone. The results might vary depending on the theme you are using but typically the individual product pages will look something like the screenshot below.

A Product Page with the Add to Cart Button Removed

Category pages and other sections like “Related Products” will be slightly different as well. The “Add to Cart” button will be replaced with a simple text button that leads directly to the product page itself.

Remove WooCommerce Features handles a bunch of other WooCommerce-related things as well, such as:

Check out the full list of features here on our site.