If you’re using WooCommerce to sell products on your WordPress site, you may want to disable the shopping cart temporarily for various reasons. For example, you might be performing maintenance on your store, or you might want to sell products that can’t be purchased online. Disabling the shopping cart is a relatively simple process.
To disable the WooCommerce shopping cart, you need to access your WordPress site’s backend. Once there, go to WooCommerce > Settings.
On the Settings page, select the Advanced tab and then click on Page setup. On the Page setup page, find the Cart Page section and select the Disabled option from the drop-down menu.
And that’s it! Once you’ve saved your changes, the WooCommerce shopping cart will be disabled on your site.
So there you have it! Disabling the WooCommerce shopping cart is a quick and easy process that can be useful in a variety of situations. Whether you’re performing maintenance on your store or selling products that can’t be purchased online, this method will ensure that your customers can’t add anything to their carts.