Learn how to hide product duplicates that were attached to different vendors from the search results.
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.
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.
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.
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
Now just save this rule and check your search results - products duplicated must be gone and only the first ( parent ) product will be displayed.