38 lines
2.6 KiB
Markdown
38 lines
2.6 KiB
Markdown
# Testing notes and ZIP for release 7.6.1
|
|
|
|
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/8927877/woocommerce-gutenberg-products-block.zip)
|
|
|
|
## Feature plugin and package inclusion in WooCommerce
|
|
|
|
### Fix PHP notice in Mini Cart when prices included taxes. ([6537](https://github.com/woocommerce/woocommerce-blocks/pull/6537))
|
|
|
|
1. Go to _WooCommerce_ > _Settings_ and check _Enable tax rates and calculations_.
|
|
2. Go to the _Tax_ tab in the settings and check _Yes, I will enter prices inclusive of tax_ and _Display prices during cart and checkout: Including tax_.
|
|
3. Add the Mini Cart block to a post or page.
|
|
4. Visit that post or page in the frontend, and verify there isn't a PHP notice.
|
|
|
|
| Before | After |
|
|
|-------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| ![Screenshot showing a PHP warning](https://user-images.githubusercontent.com/3616980/172639823-1b671ac0-58ea-4f4b-9b00-aa481d4acd72.png) | ![Screenshot showing no PHP warning](https://user-images.githubusercontent.com/3616980/172639911-7a1416fe-f49d-4c58-90b7-7e07637b1777.png) |
|
|
|
|
### Replace instances of wp_is_block_theme() with wc_current_theme_is_fse_theme(). ([6590](https://github.com/woocommerce/woocommerce-blocks/pull/6590))
|
|
|
|
**Templates logic:**
|
|
|
|
1. With a block theme.
|
|
2. 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).
|
|
3. 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:**
|
|
|
|
1. With a block theme.
|
|
2. Go to Appearance > Editor and verify you can modify the Product Search Results template.
|
|
3. 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:**
|
|
|
|
1. With a block theme.
|
|
2. In a post or page, add the Mini Cart block.
|
|
3. In the sidebar, click on _Edit Mini Cart template part(opens in a new tab)_.
|
|
4. Verify you land in the template part editor, editing the Mini Cart block.
|