This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Filter Products by Attribute: filter button doesn't work with Active Filters for PHP templates #6282
Labels
block: active filters
Issues related to the Active Filters block.
block: filter by attribute
Issues related to the Filter by Attribute block.
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
When the filter button is enabled, after choosing an attribute and clicking the filter button, the page reloads as expected. The chosen attribute is selected in the Filter Products by Attribute block but does not appear in the Active Filters block.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Filter Products by Attribute block should always work with Active Filters block.
Screenshots
Screen.Recording.2022-04-19.at.18.54.54.mov
Note: From the screenshot above, there are additional unexpected behaviors:
Right after clicking the filter button, the selected filter appears in the Active Filters block. In the Filter Products by Attribute, unchecked attribute options disappear, and the product count in the selected attribute changes to
0
.IMO, in the PHP template context, we should only update the filter URL. On slow server or network, this behavior can make customers confused.
The text was updated successfully, but these errors were encountered: