Discussion for the recipe: https://wp-dev-recipes.serversideup.net/woocommerce/search-for-woocommerce-products-variations