Hi all,
I’m using the Filter Range element in Bricks Builder, and I’ve encountered an issue with the minimum/maximum values. Not sure if I should put it as a bug or a feature request.
On my shop page, where all products are displayed, the Filter Range element shows a minimum value of 2. However, the cheapest product in my store is €2.50.
Because of this, if a user sets the filter to Min: 2 and Max: 2, no products are found, which is expected since none exist at that price in the store.
The minimum value in the range filter should ideally reflect the lowest available product price (2.50) or default to 0 if that’s supported.
Steps to reproduce:
- Within WooCommerce add a couple of Product where the lowest is set to 2,50.
- Open the shop page where all products are displayed.
- Open the page in Bricks and add the Filter Range element.
- View the page live.
- View that the minimum value is set to 2, even though the lowest product price is 2.50.
Expected behavior:
The minimum value should match the lowest available product price (2.50) or default to 0.
Actual behavior:
The filter shows a minimum of 2, which allows users to filter by a price range that has no results.
Environment:
- Bricks Builder version: 2.1.2
- WordPress version: Latest
- WooCommerce version: Latest
Thanks in advance for looking into this!