Is there any function to get all Woocommerce queried products in selected category and filter attributes?
In my custom plugin I need to get products in selected category with selected attributes.
In the end I want to get products count and then min. price from all queried products.
I only found solution to get queried category using
get_queried_object() and attributes using
WC_Query::get_layered_nav_chosen_attributes() and then select products but it seems to me as duplication of what woocommerce will do anyway.