Does anyone know a way to query category archive page products by a range for a product attribute. The following works but this is because this is a custom field for a product as apposed to a product attribute which is stored as a taxonomy.
$meta_query = array( 'key' => '_height', 'value' => $_GET['min_height'], 'compare' => '>=' ); $meta_query = array( 'key' => '_height', 'value' => $_GET['max_height'], 'compare' => '<=' );
Is it possible to achieve the above but with product attributes e.g pa_capacity etc.
Read more here: Woocommerce – product attribute query