Attribute Range Filtering Help Needed
-
I have an attribute for width that I would like to be able to filter via range… so I have a product with a width of 4.25 and when I do a search for any product with a width between 3 and 6 that product should display, but I’m not sure how to work with taxonomies… I’ve tried using this
$query_args['tax_query'][] = array( 'taxonomy' => 'pa_width', 'terms' => array(3, 6), 'field' => 'slug', 'operator' => 'IN' );But I don’t get any results. Is there a way to do this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Attribute Range Filtering Help Needed’ is closed to new replies.