plugins/woocommerce/client/blocks/docs/internal-developers/testing/releases/1170.md
Zip file for testing: woocommerce-gutenberg-products-block.zip
| Before | After |
|---|---|
Create a new page or post.
Insert the "Just Arrived Full Hero" and check it matches the new design below FlPl7fHaGv9mpu8Nfl0joH-fi-158_32406 (the button colors may differ between themes because they are no hard-coded).
Insert the "Product Collection 3 Columns" and "Product Gallery" and check they don't have titles anymore.
Insert the "Hero Product Chessboard" and check the bottom-left square has the following copy:
Quality Materials
We use only the highest-quality materials in our products, ensuring that they look great and last for years to come.
Unique Design
From bold prints and colors to intricate details and textures, our products are a perfect combination of style and function.
woocommerce_single_product_summary action to core/post-excerpt block #11953Product summary and add this PHP code:add_action('woocommerce_single_product_summary', function() {
echo 'woocommerce_single_product_summary';
});
woocommerce_single_product_summary is visible before the Product Summary.| Before | After |
|---|---|
– to the name of any product, like Hoodie - Black.Verifying Label Update:
outofstock.store() API #11558/shop page.Stack view enabled by default and then "Responsive" is not available. Change the view from Stack to Gridtrunk, add Product Collection block"shrinkColumns":false" - this step is to mimic the case when someone added the block before the option was even introduceadd/enable-shrink-column-in-product-collection-by-defaultsetAttribute function| Before | After |
|---|---|
undefined entry, but "Columns" and "Responsive" like in the AFTER image:| Before | After |
|---|---|
Create a post or page.
Add the Reviews by Product block.
Verify the number of reviews next to the product names:
Using the browser Inspector (<kbd>F12</kbd>), select one of the checkboxes.
Verify the value of the aria-label shows the correct value (<product_name>, has <reviews_count> reviews). Ie: Hoodie with Logo, has 1 review.
CheckboxControl to components package and leave alias in checkout package #11662wp.data.dispatch('core/notices').createSuccessNotice( 'This is a success message, it should show in green!', { context: 'wc/cart' } )| Before | After |
|---|---|
| Before | After |
|---|---|
<details> <summary> Test with 2 extensions </summary>[!NOTE] Things to keey an eye on while testing:
- Number of visible extensions by default and within dropdown.
- String for exact 1 vs. more than 1 incompatible extension.
- Chevron changed direction based on opening/closing the dropdown.
- Link color is gray and link is underlined.
- The dropdown functionality works is cross-browser compatible.
1 more incompatibility.8 more incompatibilities.Switch to classic cart in the incompatible extension notice.Switch to classic checkout.Currently, the application of this auto-injection only applies when Twenty Twenty-Four is active. In future iterations, we can expand the list of themes this supports as we test this out and/or eventually remove the restrictions once the Block Hooks API has more support.
General expectations for testing:
With TT4 active
This is how things look before this PR's changes:
And how things look after: