• 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.-

Viewing 1 replies (of 1 total)
  • Plugin Author themifyme

    (@themifyme)

    Hi,

    The Price Range will always show the minimum and the maximum price of your published products, not related to categories or previous selections, it can not be changed.

Viewing 1 replies (of 1 total)
  • The topic ‘Allow selecting category in the slider price filter’ is closed to new replies.