Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Products block: keyword filter works even when Inherit query from template is active #42426

Open
imanish003 opened this issue Mar 24, 2023 · 0 comments
Labels
block-type: product-query Issues related to/affecting all product-query variations. team: Kirigami & Origami WC Store Editing (FSE) type: bug The issue is a confirmed bug.

Comments

@imanish003
Copy link
Contributor

Describe the bug

As mentioned in this comment, When Inherit query from template is active, keyword filter still works.

Screen.Recording.2023-03-24.at.2.16.36.PM.mov

To reproduce

  1. Edit the Product Search Results template.
  2. Add the Products block.
  3. Add a Keyword filter. Once a keyword is added, the editor will display products that are filtered by the keyword.
  4. Enable Inherit query from template.
  5. You will see that the products in the editor are still filtered by the keyword.

Expected behavior

When Inherit query from template is enabled, we should see products based on current template i.e. keyword filter shouldn't have any effect on the products showing in Editor & Frontend.

@imanish003 imanish003 added type: bug The issue is a confirmed bug. focus: blocks block-type: product-query Issues related to/affecting all product-query variations. labels Mar 24, 2023
@nerrad nerrad added the team: Kirigami & Origami WC Store Editing (FSE) label Dec 1, 2023
@ObliviousHarmony ObliviousHarmony transferred this issue from woocommerce/woocommerce-blocks Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block-type: product-query Issues related to/affecting all product-query variations. team: Kirigami & Origami WC Store Editing (FSE) type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

3 participants