a
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudanti.
a
Follow Me
Search
How WooCommerce MultiSite Global Search works with meta fields ( e.g. SKU ) – WooCommerce MultiSite Global Cart
15841
post-template-default,single,single-post,postid-15841,single-format-standard,theme-awake,eltd-core-1.1,woocommerce-no-js,awake child-child-ver-1.0.0,awake-ver-1.0,eltd-smooth-scroll,eltd-smooth-page-transitions,eltd-mimic-ajax,eltd-grid-1200,eltd-blog-installed,eltd-default-style,eltd-fade-push-text-top,eltd-header-standard,eltd-sticky-header-on-scroll-down-up,eltd-default-mobile-header,eltd-sticky-up-mobile-header,eltd-menu-item-first-level-bg-color,eltd-dropdown-slide-from-top,eltd-,eltd-fullscreen-search eltd-search-fade,eltd-side-menu-slide-from-right,wpb-js-composer js-comp-ver-6.3.0,vc_responsive
 

How WooCommerce MultiSite Global Search works with meta fields ( e.g. SKU )

WooCommerce MultiSite Global Cart / Articles  / How WooCommerce MultiSite Global Search works with meta fields ( e.g. SKU )
Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on TumblrPin on PinterestEmail this to someonePrint this page

How WooCommerce MultiSite Global Search works with meta fields ( e.g. SKU )

The WooCommerce Multisite Global Search is a key functionality that implements global searching across all shops in the network. The plugin works out of the box, after code activation, the WooComerce search widget ( or any search query which sets the post type to products) returns products from all sites, using the default theme search interface.

The plugin core extends the default WooCommerce search functionality which is a robust and fast process. It searches within products titles, content and excerpt against provided search keywords or phrase.

The WooCommerce Multisite Global Search comes with a better algorithm workflow and allows searching within products metadata ( like SKU, Color, Location etc ) which greatly increases the search engine spread on the network, by returning an exhaustive list of products that match better to the search criteria.

For optimal performance, the meta fields that the plugin should also look into, need to be specified through a constant within the wp-conflig.php file, in the following example it also searches for _sku and _info fields values:


define ( 'WooMultiSeearch_MetaKeys',  array ( 
                                                '_sku',
                                                '_info'
                                                ) );

Optionally, the engine can search inside variations, this can be also specified through a constant within the wp-config.php file as follows:

 

define ( 'WooMultiSeearch_ReturnVariations', TRUE );


Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x