SearchWP WooCommerce Integration
One of the most popular online shopping cart software solutions for WordPress is called WooCommerce. Searching your WooCommerce store with SearchWP is far more powerful than searching with native WordPress search. Additionally, WooCommerce comes with its own search tools and filtering choices of its own. The goal of the WooCommerce Integration project is to create a connection between SearchWP and all of WooCommerce’s search features.
Product Variations are saved in WooCommerce using a method that is distinct from that of regular products. Depending on the manner in which you want the results to display, you have a few different options available to combine the Product Variation data together with your Products.
If you would want to index Product Variation data together with Products (thereby enabling Product Variation data to cause the parent Product to show in search results), you may do so by following the example provided in this Knowledge Base article: Performing Searches and Indexing on WooCommerce Product Variation SKUs
Alternately, you can use this as a jumping off point to have Product Variations show up as their very own post type: see code snippet
There are no reviews yet.