Instant bug fix release that fixes the “Invalid argument supplied for foreach()” errors that cropped up in 1.7 when the MySQL column value was not set.
WooCommerce: Indexing product variation SKUs for main product
Relevanssi can index product and product variation SKUs for WooCommerce products: just add _sku to list of custom fields to index. However, if you want to find the main product when searching for the product variation SKU, you need some extra code using the relevanssi_content_to_index filter hook. Add this function…