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

Make Filter Products by Price work with PHP templates #6135

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

Make Filter Products by Price work with PHP templates #6135

Aljullu opened this issue Mar 28, 2022 · 0 comments · Fixed by #6146
Assignees
Labels
block: filter by price Issues related to the Filter by Price 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 Price 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 Price block above the product grid.
  3. Change the values of the price slider.
  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 price Issues related to the Filter by Price block. focus: FSE Work related to prepare WooCommerce for FSE. labels Mar 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: filter by price Issues related to the Filter by Price block. focus: FSE Work related to prepare WooCommerce for FSE. type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants