This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Shop page: Filter Products by Price block only works with Number of decimals set to 2 #6226
Labels
block: filter by price
Issues related to the Filter by Price block.
focus: FSE
Work related to prepare WooCommerce for FSE.
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
#6146 makes the Filter Products by Price block work with PHP templates. But currently, it only works with
Number of decimals
set to 2. When the setting is set to another value, the block return incorrect min and max price in the URL.To reproduce
Steps to reproduce the behavior:
Number of decimals
set to 0.Expected behavior
The Filter Products by Price should work with any value of
Number of decimals
.Screenshots
The text was updated successfully, but these errors were encountered: