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 bulk delete WordPress comments in PHPMyAdmin

Any user working on the computer system has the option in quickly deleting all the WordPress comments by using MySQL or phpMyAdmin....

Removing unwanted p and br tags from WordPress

When working with HTML, you sometimes don’t like your HTML editors because of the irritating automatic bugs. Yes, we are here with...

The 7 Best WordPress Plugins For Google Analytics 2020

As the saying goes, "what is not measured, is not managed." After setting up a WordPress website, it’s important to see what’s...

How to hide all WordPress update notifications in dashboard

When working on a project, it can be frustrating to have to deal with all the update notifications that are in the...

How to add custom HTML to wp_nav_menu

WordPress has a lot of features that help us solve almost all daily tasks of any programmer or web developer. Due to...

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