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

Latest commit

 

History

History
23 lines (15 loc) · 1.23 KB

File metadata and controls

23 lines (15 loc) · 1.23 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 9.4.1

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

Feature plugin and package inclusion in WooCommerce

Prevent Cart and Checkout notices from disappearing immediately after adding. (8253)

  1. Add an item to your cart. Open the same item in the editor.
  2. In a new tab go to the Cart block.
  3. In the editor set the item to be out of stock.
  4. In the Cart block, update the item's quantity, ensure you see a notice.
  5. Open the console. Type: wp.data.dispatch( 'core/notices' ).createNotice( 'error', 'error from console', { context: 'wc/cart', } );
  6. Ensure your error appears alongside the out of stock notice.
  7. Repeat for the mini-cart.