Skip to content
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

Closed
nielslange opened this issue Apr 26, 2022 · 0 comments · Fixed by #6486
Closed

[Filter Products by Price]: Decrease step sequence #6318

nielslange opened this issue Apr 26, 2022 · 0 comments · Fixed by #6486
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.

Comments

@nielslange
Copy link
Member

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.

@nielslange nielslange added type: enhancement The issue is a request for an enhancement. 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. labels Apr 26, 2022
@Aljullu Aljullu added the type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team. label Apr 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants