Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Latest commit

 

History

History
45 lines (29 loc) · 2.99 KB

File metadata and controls

45 lines (29 loc) · 2.99 KB

📣 Announcement: New documentation location

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.


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.