Allow selecting category in the slider price filter
-
When adding the slider price filter on a page where only the products of a certain category are displayed, the maximum price of the range does not correspond to the highest price in this category but in the entire store!
For example:
Store
- Category1:
- Product1: $10
- Product2: $20
- Product3: $30
- Category2:
- Product1: $5
- Product2: $25
- Product3: $50
If I show the price selector by slider on a page where only category 1 products are listed, the slider would show $5 and $50 as the min and max values, instead of $10 and $30.
They could add a Category selector in the filter by price.
The plugin should take the selected value and send it to the “get_min_max_price()” function inside the $query_args array variables like :
‘product_cat’ => ‘Category1’,…inside the file “/class-wpf-form.php”.
I hope you can implement this improvement.
Greetings.-
- Category1:
- The topic ‘Allow selecting category in the slider price filter’ is closed to new replies.