GET FREE VERSION GET THE PRO VERSION

WCFM – Multivendor Marketplace

WooCommerce Multivendor Marketplace (WCFM Marketplace) plugin integration overview.

In this article

Overview

Key features of integration:
  • Search for vendors. Search and display vendor stores.
  • Search for vendors' products. Search and display vendors products.
  • Vendor badges for search results. Show vendor name and logo for each product inside search results.
  • Search by vendor. Search by vendor name to display all its products.
  • Search form inside vendor stores. Display plugin search form inside vendor stores. Search will be limited for current vendor products
  • Search results filters. Use different search results filters based on various WCFM parameters.

WooCommerce Multivendor Marketplace (WCFM Marketplace) is a greate plugin to create your own multi-vendor marketplace. It contains many powerful features which can cover almost all your needs. Advanced Woo Search comes with WCFM integration out of the box. This integration covers many plugin features. Below is the list of most important ones.

Search inside vendors stores

It is possible to add an AWS search form inside all your WCFM vendors shop pages. In this case search will be performed only for current vendors products.

To add such integration just go to the plugin settings page and enable the Seamless integration option.

Seamless integration

Seamless integration

Now you can find AWS search form inside vendor shops. Search will be limited to the current store products.

Search form inside vendor store

Search form inside vendor store

Search for store vendors

Search for WCFM store vendors and display them inside the plugin search results list. Link will lead to this vendor's store.

Search for WCFM vendors

Search for WCFM vendors

To enable this feature you first need to turn on users search option and choose users roles that will be available for searching.

Show store name near product search result

If you are using plugin search form outside vendors shop and product inside search results belongs to any vendor shop then this shop name will be displayed near that product along with the link to this store.

Shop name and logo of current product vendor

Shop name and logo of current product vendor

Products filter: Is product sold by any vendor

Hide/show products that are sold by any WCFM vendor.

Use Filters For Search Results plugin feature to filter products search results based on WCFM vendor.

To set such a filter open the plugin settings page -> Search Results tab and find Filter Results section. Click on Filter products search results button and then choose WCFM: Is product sold by any vendor rule. Set compare operator and value ( true or false ) depending on your needs.

'Is product sold by any vendor' products results filter

'Is product sold by any vendor' products results filter

Products filter: Product is sold by X vendor

Hide/show products that are sold by specific WCFM vendors.

Use Filters For Search Results plugin feature to filter products search results based on specific WCFM vendors.

To set such a filter open the plugin settings page -> Search Results tab and find Filter Results section. Click on Filter products search results button and then choose WCFM: Product sold by rule. Also set needed compare operator and choose WCFM vendor from the list of available.

'Product sold by' products results filter

'Product sold by' products results filter

Products filter: Average store rating

Hide/show products based on average vendor store rating.

Use Filters For Search Results plugin feature to filter products search results based on average WCFM vendor store rating.

To set such a filter open the plugin settings page -> Search Results tab and find Filter Results section. Click on Filter products search results button and then choose WCFM: Store rating rule. Choose the needed compare operator ( equal to, not equal to, greater or equal to, less or equal to ) and value of average rating to compare with.

'Average store rating' products results filter

'Average store rating' products results filter

Products filter: Store reviews count

Hide/show products based on number of vendor store reviews.

Use Filters For Search Results plugin feature to filter products search results based on WCFM vendor store reviews count.

To set such a filter open the plugin settings page -> Search Results tab and find Filter Results section. Click on Filter products search results button and then choose WCFM: Store reviews count rule. Choose the needed compare operator ( equal to, not equal to, greater or equal to, less or equal to ) and the number of reviews to compare with.

'Store reviews count' products results filter

'Store reviews count' products results filter

Products filter: Product number of views

Hide/show products based on number of product views.

Use Filters For Search Results plugin feature to filter products search results based on WCFM product views.

To set such a filter open the plugin settings page -> Search Results tab and find Filter Results section. Click on Filter products search results button and then choose WCFM: Product views rule. Choose the needed compare operator ( equal to, not equal to, greater or equal to, less or equal to ) and the number of views to compare with.

'Product views' products results filter

'Product views' products results filter

Users filter: User is vendor

Hide/show users that are WCFM vendors.

Use Filters For Search Results plugin feature to filter user archive pages search results based on WCFM vendor.

To set such a filter open the plugin settings page -> Search Results tab and find Filter Results section. Click on Filter users archive pages search results button and then choose WCFM: User is vendor rule. Set compare operator and value ( true or false ) depending on your needs.

'User is vendor' search results filter

'User is vendor' search results filter

Users filter: Store rating

Hide/show users in search results based on average WCFM store rating.

Use Filters For Search Results plugin feature to filter user archive pages search results based on WCFM store rating.

To set such a filter open the plugin settings page -> Search Results tab and find Filter Results section. Click on Filter users archive pages search results button and then choose WCFM: Store rating rule. Choose the needed compare operator ( equal to, not equal to, greater or equal to, less or equal to ) and average rating to compare with.

'Store rating' search results filter

'Store rating' search results filter

Users filter: Store reviews count

Hide/show users in search results based on number of WCFM store reviews.

Use Filters For Search Results plugin feature to filter user archive pages search results based on WCFM store reviews count.

To set such a filter open the plugin settings page -> Search Results tab and find Filter Results section. Click on Filter users archive pages search results button and then choose WCFM: Store reviews count rule. Choose the needed compare operator ( equal to, not equal to, greater or equal to, less or equal to ) and number of reviews to compare with.

'Store reviews count' search results filter

'Store reviews count' search results filter

FAQ

Q: Can I search for a store vendor via its store name?

Yes, it is possible. Just use the following code snippet:

add_filter( 'aws_users_search_query', 'my_aws_users_search_query' );
function my_aws_users_search_query( $sql ) {
    $sql = str_replace( " ( 'first_name', 'last_name' )", "( 'first_name', 'last_name', 'wcfmmp_store_name' )", $sql );
    return $sql;
}

Q: How to increase maximal number of search results for users?

By default the plugin will show a maximum 10 users inside the search results box. To increase this number just use following code snippet ( in this example number is set to 30 ):

add_filter('aws_search_terms_number', 'my_aws_search_terms_number');
function my_aws_search_terms_number( $number ) {
    return 30;
}

Q: How can I hide stars rating for vendors search results?

Just use the following code snippet:

add_filter( 'aws_wcfm_users_rating', 'my_aws_wcfm_users_rating' );
function my_aws_wcfm_users_rating( $rating ) {
    return false;
}