The documentation for WooCommerce Blocks has moved to the WooCommerce monorepo.
Please refer to the documentation in the new location as the files in this repository will no longer be updated and the repository will be archived.
Zip file for testing: woocommerce-gutenberg-products-block.zip
Product Filters > Fix Performance issue and Fatal error on stores with a high volume of products #10198
- Make sure you have products in your store with attributes and stock status (You can do so by simply importing the sample products from the core of Woo).
- Create a new post.
- Insert the Products (Beta) block.
- Insert the Filter by Attribute, Filter by Stock and Filter by Price
- Make sure all filters have the "Display product count" setting enabled (it is disabled by default).
- Save the post and go to the front-end
- Make sure you can use all filters as expected and without any problems/errors: the product counts should match the number of existing products in the store with the filtered criteria, not just what is displayed on the page.
Stop reading Product IDs from asset store in filter blocks #10195
- Go to Editor
- Add Filters pattern
- Add Products (Beta) block
- Save and go to frontend
- Play around with filters
Expected: Make sure you can use all filters as expected and without any problems/errors: the product counts should match the number of existing products in the store with the filtered criteria, not just what is displayed on the page.