woocommerce/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/761.md

3.0 KiB

Testing notes and ZIP for release 7.6.1

Zip file for testing: woocommerce-gutenberg-products-block.zip

Feature plugin and package inclusion in WooCommerce

Fix PHP notice in Mini Cart when prices included taxes. (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 Screenshot showing no PHP warning

Replace instances of wp_is_block_theme() with wc_current_theme_is_fse_theme(). (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.

We're hiring! Come work with us!

🐞 Found a mistake, or have a suggestion? Leave feedback about this document here.