Testing notes and ZIP for release 9.5.0
Zip file for testing: woocommerce-gutenberg-products-block.zip
WooCommerce Core
Style Book: Fix Featured Product and Featured Category Blocks preview (8313)
- With Gutenberg installed and a block theme like Twenty Twenty-Three enabled.
- Go to
Appearance » Editor
and edit a template.
- In the toolbar, select Styles (black and white circle) and then, Open Style Book (eye icon).
- Go to the WooCommerce tab.
- Be sure that the Featured Product and Featured Category are displayed like the image below.
Before:
|
After:
|
Style Book: Hide Filter blocks and Product Search block (8309)
- With Gutenberg installed and a block theme like Twenty Twenty-Three enabled.
- Go to
Appearance » Editor
and edit a template.
- In the toolbar, select Styles (black and white circle) and then, Open Style Book (eye icon).
- Go to the WooCommerce tab.
- Be sure that the
Attribute Filter
, Stock Filter
, Price Filter
, Rating filter
, and Product Search
blocks aren't visible.
Style Book: Fix useForcedLayout to prevent breaking style book (8243)
- With Gutenberg installed and a block theme like Twenty Twenty-Three enabled.
- Go to
Appearance » Editor
and edit a template.
- In the toolbar, select Styles (black and white circle) and then, Open Style Book (eye icon).
- Go to the WooCommerce tab.
- Ensure the Mini Cart block load correctly.
Add border attributes to featured items block to show border styles in editor (8304)
- Go to
wp-admin
dashboard and to your shop page.
- Add a Featured Product block to the page.
- Try adding a border color and border width to the product.
- Ensure you're seeing the preview of the border styles while editing.
- Repeat steps 2-4 for the Featured Category block.
Before:
|
After:
|
Fix for wrong shipping schema in checkout (8291)
- Create and place an order with shipping address different from billing.
- Verify on checkout that both display correctly.
Adjust return to cart arrow (8289)
- Select a dark theme, e.g. the Twenty Twenty-Three and use a dark style.
- Add a product to the cart and go to the checkout page.
- Verify that the arrow of the
Return to Cart
button as the same color as the text.
- Go to https://store.test/wp-admin/options-general.php and switch to an RTL-language.
- Go to the checkout page again and verify that the arrow of the
Return to Cart
button points in the other direction.
Before LTR:
|
After LTR:
|
Before RTL:
|
After RTL:
|
Add reset button in the editor for product attributer filter (8285)
- Go to your
wp-admin
dashboard and Shop
page.
- Add the
Filter by Attribute
Product block.
- Choose an attribute which has a product linked to it.
- Ensure you see the
Reset
button at the bottom right.
- Go to your
Shop
page and select an attribute.
- Ensure you see the
Reset
button and clicking on it works as expected.
- Back in the wp-admin
Shop
page. Edit the block and now try choosing an attribute which has no products link to it.
- Ensure you no longer see the
Reset
button at the bottom right.
Before:
|
After:
|
Make Notice
component legible in dark themes (8278)
- Install a theme with a dark background (ie: theme TT3 with Aubergine style or theme Zaino).
- Go to
Appearance » Editor
and edit the Product Catalog template.
- Add the
Store Notices
block.
- Make sure the notice text is black and legible.
Before:
|
After:
|
Set inherit setting to true when is inserted in the archive product template (8251)
- Make sure you are using a block theme.
- Go to the
Product Catalog
template on the Site Editor
(wp-admin/site-editor.php?postType=wp_template&postId=woocommerce%2Fwoocommerce%2F%2Farchive-product
).
- Insert the
Products (Beta)
block.
- Make sure the
Inherit query from template
is enabled by default.
Avoid changing the markup of all ratings when the Product Rating block is present in the page (8247)
- Make sure a product has an average rating of 4 or less.
- With the Twenty Twenty-Three theme installed, go to
Appearance » Editor
.
- Edit the Product Catalog template, adding the Products block above the WooCommerce Product Grid Block:
- You might want to add a title above each of those blocks to help you distinguish them in the frontend.
- Go to the frontend and verify the rating markup of the WooCommerce Product Grid block is not filtered. To verify it, scroll down to the WooCommerce Product Grid block and check that the "empty" star in the rating is outlined instead of dimmed:
Before:
|
After:
|
Note: The Products block is expected to have dimmed stars instead of outlined ones. This testing steps refers to the WooCommerce Product Grid block.
Update Local Pickup price display when price is 0 and multiple packages are used (8241)
- Enable the Multiple Packages for WooCommerce extension and set a price for local pickup.
- Add multiple products to cart. Confirm you have multiple shipping packages and the
price x quantity
is shown when choosing local pickup.
- Go to settings and make local pickup free.
- Go back to checkout and confirm prices for pickup is shown as "FREE".
Show as "Free" instead of "0 x 3 packages":
|
Existing logic preserved for pickup with prices:
|
Product Price: Transition from using CSS margin to Global Styles (8269)
- Add a Products block on a new page.
- Ensure the Product Price
margin
is displaying correctly (and is present in the Dimensions » Margin
setting).
- Now add an All Products block on another page.
- Click on the pencil icon to edit the layout and change the Product Price block margin.
- Verify the margin is applied in the editor. Save the layout, save the page and check the changes in the frontend, verify the margin is applied there as well.
Product Button: Transition from using CSS margin to Global Styles (8239)
- Add a Products block on a new page.
- Ensure the Product Button
margin
is displaying correctly (and is present in the Dimensions » Margin
setting).
- Iterate over each Products block pattern (which includes the Product Button block). Make sure the
margin
is correct.
Product Rating: Transition from using CSS margin to Global Styles (8202)
- Add a Products block on a new page and add the Product Rating block inside of it.
- Ensure the Product Rating
margin
is displaying correctly (and is present in the Dimensions » Margin
setting).
- Iterate over each Products block pattern (which includes the Rating block). Make sure the
margin
is correct.
- Make sure the alignment setting works (for Product Rating) correctly in the editor and frontend.
Add Store Breadcrumbs block (8222)
- Make sure you are using a block theme.
- Edit any template on the Site Editor e.g. the
Single Product Template
(wp-admin/site-editor.php?postType=wp_template&postId=woocommerce%2Fwoocommerce%2F%2Fsingle-product&canvas=edit&sidebar=%2Ftemplates
).
- Insert the new Store Breadcrumbs block.
- Style the breadcrumbs (update the colors for the link and text and typography) and ensure the changes are also visible on the FrontEnd.
Editor Preview:
|
FrontEnd:
|
Editor sidebar:
|
Block inserter:
|
Add Catalog Sorting filter block (8122)
- Enable a blocks theme and go to the
Site Editor » Browse all templates
and open the Product Catalog
template.
- Insert the
Catalog Sorting
block.
- Insert the
Products (Beta)
block and enable the Inherit query from template
.
- Check the
Catalog Sorting
block renders on the editor.
- Save and go to the
shop
on the front end, make sure it renders the Products (Beta)
block with the Catalog Sorting
dropdown.
- Change the dropdown value and make sure the products are ordered in the expected order.
Add Results Count block (8078)
- Create new post/page
- Try to add "Product Results Count"
Expected: Product Results Count block is not available there
- Edit Product Catalog template
- Add "Product Results Count"
Expected: It displays "Showing 1-X of X results".
- Remove
Classic Template
and add Products
block
- Make sure
Products
block has Inherit query from template
setting enabled (!)
- Save the template and go to Frontend
Expected: It displays "Showing 1-16 of 17 results". - depends on number of products your store has, numbers may differ, but it displays correct number of product that shows up in Products
block
- Go to the next page of
Products
Expected: It displays "Showing 17-17 of 17 results". - depends on number of products your store has, numbers may differ, but it displays correct number of product that shows up in Products
block
Editor sidebar:
|
Block inserter:
|
- Change global styles and make sure styles are applied to the block (in frontend as well)
- Change the color/font styles to the block and make sure styles are applied to the block (in frontend as well)
Add coupon link instead of dropdown in Cart and Checkout blocks (7993)
- Go to the Edit Cart page, remove the Cart block and add it again.
- Go to the Edit Checkout page, remove the Checkout block and add it again.
- Visit your site front-end and add items to cart
- Go to the Cart page, and confirm the
Apply a coupon code
link is visible.
- Enter the coupon code, and confirm the coupon is getting applied.
- Go to the Checkout page, and confirm the
Apply a coupon code
link is visible.
- Enter the coupon code, and confirm the coupon is getting applied.
- Test around this issue.
Checkout/Store API: Push valid changes selectively (8030)
- Go to the checkout page as a logged in user who has checked out before.
- Edit a single address field - it has to be one of the address fields that require a push: city, state, country, postcode, or email.
- Wait a few seconds for the request to finish.
- Refresh the checkout page.
- Confirm the change you made was persisted.
Refresh the cart when using the browser back button (8236)
For the Checkout block
- Add items to your cart.
- Go to the checkout block page.
- Place an order.
- Press the browser back button.
- After a short delay you'll see the empty cart notice.
For the Mini Cart block
- Add mini cart to the theme header.
- Add something to your cart.
- Visit a page - note the total in mini cart.
- Visit the shop page and add another item to the cart. Note the new mini cart total.
- Press the browser back button. Without mousing over the mini cart block, confirm the total updates.
Feature plugin
n/a
Experimental
n/a