This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
[Filter Products by Price]: Decrease step sequence #6318
Labels
block: filter by price
Issues related to the Filter by Price block.
priority: low
The issue/PR is low priority—not many people are affected or there’s a workaround, etc.
type: enhancement
The issue is a request for an enhancement.
type: good first issue
The issue is a good candidate for the first community contribution/for a newcomer to the team.
Currently, the Filter Products by Price block has a step sequence depending on the currency. If the store is using USD, the step sequence is 10. This logic is coming from https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/assets/js/base/components/price-slider/index.tsx#L87-L88
While this logic works, it might not be what a shopper expects, given that other sites show a price range filter that uses the smallest step. In case of USD or EUR, these steps are 1 USD resp. 1 EUR as seen on Zalando and Airbnb.
I suggest decreasing the step sequence to the smallest unit available within a given currency to gain the highest level of flexibility for the shopper.
The text was updated successfully, but these errors were encountered: