Website Building » WooCommerce » How Do I Get Rid of the Buy Now Button in WooCommerce?

How Do I Get Rid of the Buy Now Button in WooCommerce?

Last updated on October 1, 2022 @ 6:44 pm

If you’re running a WooCommerce store, you might be wondering how to get rid of the “Buy Now” button that appears on each product page. While the “Buy Now” button can be a useful feature for some stores, it’s not always necessary – and in some cases, it can even be a hindrance to your sales. Fortunately, there are a few easy ways to remove the “Buy Now” button from your WooCommerce store.

One way to remove the “Buy Now” button is to simply disable it from your WooCommerce settings. To do this, log into your WordPress dashboard and navigate to WooCommerce > Settings.

From there, click on the Products tab and then scroll down to the Add to Cart Behavior section. In this section, you’ll see an option to disable the “Buy Now” button – simply check this box and save your changes.

If you want to remove the “Buy Now” button only for certain products, you can do so by editing those individual products. To edit a product, go to WooCommerce > Products and click on the product you want to edit. In the Product Data section, you’ll see an option called Enable AJAX add to cart buttons on archives – check this box and save your changes.

PRO TIP: The WooCommerce ‘Buy Now’ button can be removed by going to the WooCommerce settings page and selecting the ‘Disable the Buy Now button’ option. However, this may cause problems with your website’s functionality.

Finally, if you want to remove the “Buy Now” button completely from your WooCommerce store (including the archives), you can do so by adding a little bit of code to your functions.php file. To do this, log into your WordPress dashboard and go to Appearance > Editor. From there, open up your theme’s functions.php file and add the following code:

remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’);
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’);

Conclusion:

There are a few easy ways to remove the “Buy Now” button from your WooCommerce store. You can disable it from your settings, remove it only for certain products, or remove it completely from your store by adding a little bit of code to your functions.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.