Testing notes and ZIP for release 10.4.5
Zip file for testing: woocommerce-gutenberg-products-block.zip
WooCommerce Core
Product Rating block > Ensure the customer reviews text links to the relevant user reviews within the Single Product block and Single Product template. (9998)
- Create a new post
- Add the Single Product block to the post (with a product with reviews) and save.
- Notice how the "(X customer reviews)" text links to the relevant single product template.
- Now head over to Edit site > Templates > Single Product and make you are using the blockified version of the Single Product Template with the Product Rating block in place. Edit and save the template if you made any changes to ensure this criteria.
- Now access any Single Product on the front end and make sure the "X customer review(s)" text is linked to the relevant section.
Before |
After |
|
|
Fix reviews count not showing for the Product Rating block when inside the Single Product page. (9995)
- From your WordPress dashboard, go to Appearance > Themes. Make sure you have a block-based theme installed and activated. If not, you can install one from the Add New option. Block-based themes include "Twenty-twenty Two," "Twenty-twenty Three," etc.
- On the left-hand side menu, click on Appearance > Editor. This will open the Site Editor.
- On the left-hand side menu, click on Templates. This will open the list of available templates.
- Find and select the 'Single Product' template from the list.
- When the Classic Product Template renders, click on Transform into Blocks. This will transform the Classic template in a block template if you haven't done it before.
- On the top-right side, click on the Save button.
- Visit a product with at least 1 review and check that the Reviews count is being shown.
Before |
After |
|
|
Single Product template: Fix variation SKU switching in the blockified template. (9990)
- Select Appearance > Editor > Templates > Single Product. Blockify the Single Product template.
- Make sure you have a least one variation product, with variations having the SKU set.
- Go to the frontend view of the variation product, and verify that selecting different variations causes the SKU to reflect the variation's SKU.
Before |
After |
|
|
Single Product template: Fix variation gallery image switching in the blockified template. (9986)
- Select Appearance > Editor > Templates > Single Product. Blockify the Single Product template.
- Make sure you have a least one variation product, with variations having the Featured Image set.
- Go to the frontend view of the variation product, and verify that selecting different variations causes the product image gallery to reflect the selected variation Featured Image.
Before |
After |
|
|
Product Image Gallery block: Fix overflow when multiple images are used. (10013)
- Navigate to the "Products" tab in the left-hand sidebar and click on "All Products."
- Locate and select the product you want to edit from the list of existing products.
- Scroll down to the "Product Image" section. If the product already has a primary image, you can replace it by clicking on the "Set product image" link. If there is no existing image, you will see an "Add product image" button instead.
- You'll be presented with options to upload an image.
Select an image with size 512 x 640 pixels
. Click on the "Set product image" button to confirm.
- To add additional images to the product gallery, scroll down further to the "Product Gallery" section. Click on the "Add product gallery images" link.
- Follow Step 5 to upload or select the additional images for the product. You can use the same image used in step 5.
- Click on the "Update" button to save your changes.
- From your WordPress dashboard, go to Appearance > Themes. Make sure you have a block-based theme installed and activated. If not, you can install one from the Add New option. Block-based themes include "Twenty-twenty Two," "Twenty-twenty Three," etc.
- On the left-hand side menu, click on Appearance > Editor. This will open the Site Editor.
- On the left-hand side menu, click on Templates. This will open the list of available templates.
- Find and select the 'Single Product' template from the list.
- When the Classic Product Template renders, click on Transform into Blocks. This will transform the Classic template in a block template if you haven't done it before.
- On the top-right side, click on the Save button.
- Visit the product that you edited the image and check that the Product Image Gallery block is being displayed correctly and without any overflow.
Before |
After |
|
|
Single Product Block: avoid to register incompatibility blocks with the Single Product Block on the post/page editor. (10044)
- Open the Single Product Template and ensure you have the blockified version.
- Ensure that all the blocks are visible.
- Open the post editor and add the Single Product Block.
- Follow the table below and ensure that only the blocks with the 🟢 are available as ancestor the Single Product Block
Block Name |
Available as the ancestor of the Single Product Block |
Add to Cart with Options |
🟢 |
Product Details |
🔴 |
Product Image Gallery |
🔴 |
Product Meta |
🟢 |
Product Reviews |
🔴 |
Product Rating |
🟢 |
Related Products |
🔴 |