GET FREE VERSION GET THE PRO VERSION

WCFM plugin: hide product duplicates

Learn how to hide product duplicates that were attached to different vendors from the search results.

In this article

Overview

In this article we will cover an issue of displayed product duplicated inside search results.

Such duplicates can be displayed if one product is being sold by several WCFM vendors.

A copy of a single product that is sold by multiple vendors.

A copy of a single product that is sold by multiple vendors.

This can be set, for example, from vendors dashboard -> Add to my store tab you can choose any existing product and click Add to My Store button to add that product to the vendors store.

Vendors dashboard. Add product to vendor's store

Vendors dashboard. Add product to vendor's store

Technically it is a separate WooCommerce product and that's why Advanced Woo Search is showing it inside search results. But still you can fix this problem and show only the parent product.

Hide product duplicates from search results

With Advanced Woo Search PRO it is possible to hide all product duplicates and show only the first parent product in search results.

To do this simply open plugin settings page -> Search Results tab and scroll down to Filter Results section.

Inside it create a new product filter:

Product custom fields -> _has_multi_selling -> not equal to -> Any

New search results filter to hide product duplicates

New search results filter to hide product duplicates

Now just save this rule and check your search results - products duplicated must be gone and only the first ( parent ) product will be displayed.

Product duplicates is hidden

Product duplicates is hidden