Disable WooCommerce Marketplace Suggestions


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.


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 *.

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