Disable WooCommerce Marketplace Suggestions

Written by Dan Mossop

WooCommerce shows suggestions for products from its marketplace, within the WordPress admin area. If you'd like to disable these Marketplace Suggestions, here are several ways to do so.

Disable Marketplace Suggestions from the WooCommerce Settings

The Marketplace Suggestions can be disabled from within the WooCommerce settings, by going to:

WP Dashboard > WooCommerce > Settings > WooCommerce.com > Marketplace Suggestions

and unchecking the "Show Suggestions" option, as shown here:

Disable Marketplace Suggestions Programmatically

If you'd like to disable marketplace suggestions in code, you can do so using the following PHP code:

add_filter( 'woocommerce_allow_marketplace_suggestions', '__return_false' );
add_filter('woocommerce_show_marketplace_suggestions', function ($show) { return 'no'; });

I found the first filter on Puri.io, but found it didn't work for my needs (fixing an infinite loop in the product edit pages that was somehow triggered, though perhaps not caused, by Marketplace Suggestions). On investigation, it turned out that some parts of WooCommerce's marketplace suggestions functionality applied the filter, while some did not. I solved this with the second filter which overrides the option as soon as it is retrieved from the database and more completely disables the feature.

Disable WooCommerce Suggestions Easily

Learn how to enhance your WordPress experience by disabling WooCommerce Marketplace Suggestions. This guide shows you how to manage settings or use PHP code to keep your admin area clean and focused.

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

We may earn a commission when you visit links on our website.

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

News