This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Product Query block hijacks all further queries #6950
Labels
block-type: product-grid
Issues related to/affecting all product-grid type blocks.
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
When you add a Product Query block and select a custom query attribute (i.e. set the toggle to display “On sale products”), adding further Product Query blocks or even normal Query Loop blocks will result in the query always being the filtered one. This is due to the fact that we register the filter every time before we render a Query Loop block.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Each Query Loop block should retain its own query.
The text was updated successfully, but these errors were encountered: