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

Experiment: Add a simple price filter block with directives #8218

Conversation

DAreRodz
Copy link
Collaborator

@DAreRodz DAreRodz commented Jan 17, 2023

What?

⚠️ Superseded by #8221

This is a simple reimplementation of the Price Filter block using directives to filter a list of products by price.

Tracking issue: woocommerce/woocommerce#42486

Why?

The idea is to test and showcase how a block to filter a list of products would be implemented with directives. Also, to ease a future transition to this new API in case it finally becomes standard.

How?

This PR continues the work on #8026 and implements a new block called Simple Price Filter. The most interesting changes are in:

Next steps

  • Get a similar appearance as the current Price Filter block
  • Put an initial range of prices (this can be hardcoded for now).

@DAreRodz
Copy link
Collaborator Author

Bear in mind that this PR currently contains changes from #8026. To see the most interesting part, you can check this link.

@DAreRodz
Copy link
Collaborator Author

Closed in favor of #8221

@DAreRodz DAreRodz closed this Jan 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants