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
Replace instances of wp_is_block_theme() with wc_current_theme_is_fse_theme(). (6590)
Templates logic:
- With a block theme.
- Go to Appearance > Editor and verify you can modify the WooCommerce templates: Products by Tag, Products by Category, Single Product or Product Catalog (don't test Product Search template yet).
- Do some smoke testing: make an edit, save it, go to the frontend and verify the change has been applied, restore the template, etc.).
Product Search template:
- With a block theme.
- Go to Appearance > Editor and verify you can modify the Product Search Results template.
- Do some smoke testing: make an edit, save it, go to the frontend and verify the change has been applied, restore the template, etc.).
Mini Cart link:
- With a block theme.
- In a post or page, add the Mini Cart block.
- In the sidebar, click on Edit Mini Cart template part(opens in a new tab).
- Verify you land in the template part editor, editing the Mini Cart block.