Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Make Filter Products by Attribute work with PHP templates #6136

Closed
Aljullu opened this issue Mar 28, 2022 · 0 comments · Fixed by #6204
Closed

Make Filter Products by Attribute work with PHP templates #6136

Aljullu opened this issue Mar 28, 2022 · 0 comments · Fixed by #6204
Assignees
Labels
block: filter by attribute Issues related to the Filter by Attribute block. focus: FSE Work related to prepare WooCommerce for FSE. type: enhancement The issue is a request for an enhancement.

Comments

@Aljullu
Copy link
Contributor

Aljullu commented Mar 28, 2022

Currently, it's not possible to use the Filter Products by Attribute block with PHP templates. That's because that block is designed to only work with the All Products block.

This issue is about updating it, so it can work with the Shop catalog template.

To reproduce

  1. With a block theme, go to Appearance > Editor > Template > Product Catalog.
  2. Add the Filter Products by Attribute block above the product grid.
  3. Change the selected values in the filter block
  4. Notice the products in the product grid don't update.

Expected behavior

The products in the product grid should update based on the selected filters.

@Aljullu Aljullu added type: enhancement The issue is a request for an enhancement. block: filter by attribute Issues related to the Filter by Attribute block. focus: FSE Work related to prepare WooCommerce for FSE. labels Mar 28, 2022
@tjcafferkey tjcafferkey self-assigned this Mar 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: filter by attribute Issues related to the Filter by Attribute block. focus: FSE Work related to prepare WooCommerce for FSE. type: enhancement The issue is a request for an enhancement.
Projects
None yet
3 participants