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
Add global style for Product Categories List block (5133)
- Install and enable Gutenberg plugin
- Install and enable a block theme (e.g. TT1 Blocks)
- Add the "Product Categories List" block to a post
- Verify you can change the text color, font size, and line-height.
- Save
- Go on the page and check if there are changes
- Reset to default
- In WP Admin go to the Site Editor via the menu item.
- Click on the Global styles icon
- Verify the Product Categories List block is shown, and you can tweak its styles
- Save
- Go on the page created earlier and check if all styles are applied correctly
- Edit previous post/page again
- Change again text color, font size, and line-height
- Save
- Check if these styles have priority over the styles from the Site editor.
Fix Featured Product Search not working for large stores (5156)
- Ensure you have a large catalog of above 100 products (or download this CSV)
- Insert Featured Product Block in the editor
- Enter a search term for a product not visible in the list (if you've downloaded the above CSV try WordPress Pennant)
- Should see relevant search results based on search