How to: WordPress WooCommerce Catalog Mode & Disable Shopping Cart

WordPress is an e-commerce enthusiast’s dream. It allows you to create swanky websites with relatively little effort. Every once in a while though, you come across a problem the solution to which isn’t so readily apparent.

Fortunately, the solutions are only a few steps away. Here we’ll be looking at how to create a product catalog using catalog mode and how to disable shopping carts on WordPress WooCommerce.

How to enable Catalog Mode on WordPress Woocommerce

Enabling WordPress WooCommerce catalog mode is easy.

To do this, you’ll need to install the WooCommerce catalog plugin. Go to the WordPress plugin directory, click on settings, and under that, select ‘WooCommerce catalog mode’. This will allow you to toggle the catalog mode and perform other neat tricks as well, such as
hiding the prices and toggle the ‘add to cart’ button.

Catalog for WooCommerce is another plugin you can use. You simply have to go to ‘Catalog Mode’ on the dashboard once it’s been activated and check all the options you want, which include catalog, ratings and more.

You can also install the YITH WooCommerce Catalog Mode. This plugin has both a paid and free version, with the former letting you hide the prices, add custom buttons and inquiry forms. Once downloaded, you can enable catalog mode by navigating to YITH plugins and then catalog mode. It’ll let you do a few other things as well.

How to Disable Shopping Carts on WordPress Woocommerce

All of the above plugins will let you remove the shopping cart from the plugin page. There are a few ways to disable WordPress WooCommerce shopping carts though. You can also prevent the shopping car from showing by not listing the price of a project. However, you can also use the ‘remove_action’ function on the functions.php file to prevent a product with a
particular ID from being purchased. Here’s the code:

add_filter('woocommerce_is_purchasable', 'woocommerce_cloudways_purchasable'); 

function woocommerce_cloudways_purchasable($cloudways_purchasable, $product) { return ($product->id == your_specific_product_id (like 22) ? false : $cloudways_purchasable); }

And that’s it! You can now enable catalog mode
and disable shopping carts!

Recent Articles

How to Get WordPress Post Featured Image URL

Are you a WordPress developer or an advanced WordPress user? Whoever you are, sometimes you may need the direct URL of a...

How to Bulk Delete Media in WordPress

WordPress and media. That's the topic for a book. Sometimes is not easy to find what you need and when you have...

Custom Order Number for WooCommerce Will Saves You a Lot of Hassle!

WordPress is still the king of Content Management Systems (CMS). Thanks to its open-source nature, millions upon millions of users and PHP...

How to Manually Sort WooCommerce Products

WooCommerce is an e-commerce plugin for WordPress. It is a great way for the user to create an online store for their...

How to Delete All WooCommerce Products

Remove all WooCommerce products is a good thing, especially when you have got thousands of products and need to make your site...

Get in touch

Be our first-class reader, build a community and follow us on social media!

Leave A Reply

Please enter your comment!
Please enter your name here