plugins/woocommerce/client/blocks/docs/internal-developers/testing/releases/1140.md
Zip file for testing: woocommerce-gutenberg-products-block.zip
Large Footer pattern.| Before | After |
|---|---|
Footer with 3 Menus pattern.| Before | After |
|---|---|
Social: Follow us on social media pattern.| Before | After |
|---|---|
Product Hero 2 Column 2 Row pattern.| Before | After |
|---|---|
| before | after |
Featured Category Triple pattern.| Before | After |
|---|---|
Discount Banner pattern.80px between all of them.80px between all of them.Set a product to be on sale in your store.
Install Multiple Packages for WooCommerce and go to WooCommerce > Settings > Multiple Packages. Set the "Group by" option to Product (individual).
Set up local pickup (WooCommerce -> Settings -> Shipping -> Local Pickup) and add a couple of locations. Add a price to this.
Set up a couple of shipping options with a price.
Add the Filter by Price and Products (Beta) blocks to a page on your site.
Go to the page and ensure the Filter by Price block is displaying the correct range of product prices.
Check the product that you set to be on sale, it should be showing the correct sale price, and all other products should be showing the correct price too.
Add 2 products to your cart.
Go to the Cart block. Ensure all products listed in the order summary sidebar show the correct prices.
Ensure the shipping options shown in the Cart block show the correct prices.
Ensure all totals in the Cart block are show the correct price.
Go to the Checkout block.
Ensure the Local Pickup/Shipping selector shows the correct "From" price in the buttons
Select Shipping and scroll down to the shipping section. Ensure all shipping options show the correct price.
Change to Local Pickup and ensure the correct price is shown alongside the pickup location's name.
Ensure the totals are correct in the checkout sidebar.
Repeat steps 5, 6, 7 but with the All Products block.
Prerequisite: Ensure you're already using cart and checkout blocks and you have an incompatible extension installed. You can use WooCommerce Checkout Field Editor as an example.
Create a coupon
Add the Active Filters block to a page, add the Filter by Attribute block, the Filter by Stock block, and the Products (Beta) block too.
Visit the page, apply some filters, ensure the chips show up correctly in the Active Filters block. Remove the filters by pressing the x on the chip.
Visit the Cart block. Apply the coupon you created in step 1. Ensure the coupon shows correctly:
Remove the coupon.
Proceed to the Checkout block and re-apply the coupon, ensure it shows correctly and ensure it can be removed.
Filter by Rating, Filter by Attribute, Filter by Stock, and Products (Beta) blocks to a page.dictionary.json file.Full width and look good on the editor and the front end.Test the homepage templates Compare the 3 templates show below to the designs: Mrk6SERPZ4KrFHSjM0a8TK-fi-5716_46688
| Homepage 1 | Homepage 2 | Homepage 3 |
|---|---|---|
Product Collection 5 Columns pattern and check that the title and price are stacked rather than side-by-side.Product Collection under the patterns tab to find others.| Before | After |
|---|---|
wp:query-no-results block isn't rendered and that the text Add text or blocks that will display when a query returns no results. isn't present.| Before | After |
|---|---|
Text input, Textarea, Radio input, and Checkbox input.Text input and Textarea are identical.Radio input and Checkbox input are identical.Important Only the border focus styles of the
Radio inputandTextareawere adjusted in this PR, as theText inputandCheckbox inputfocus styles were already correct.
Radio inputTextareawoocommerce-blocks/product-query-product-gallery pattern.Add "remove more" link text doesn't appear in the editor above the price.Filled Cart to Empty Cart.Note Depending on the screen size, the sales badge might overlap or be visible next to the product image.
WooCommerce -> Settings -> Advanced - set the Cart page to one containing the Cart Block. Save.WooCommerce -> Settings -> Shipping -> Shipping Options - confirm the Enable the shipping calculator on the cart page option is displayed.Enable the shipping calculator on the cart page option and save.WooCommerce -> Settings -> Shipping -> Shipping Options - Uncheck the Enable the shipping calculator on the cart page option and save.| Before | After |
|---|---|
Go to Editor
Add Product Collection block
Enter Code Editor mode
Find and remove "shrinkColumns":false" - it will mimic the case it's undefined
Save the page/template and go to frontend
Make sure there's no warning and Product Collection is rendered in non-responsive mode (when you narrow down the screen it will preserve the number of columns and finally collapse to single one for mobile view)
Appearance > Editor > Templates > Manage All TemplatesPage: Cart and Page: Checkout do not have customizations (or delete them if so), and enter edition mode for each oneGroup after the Header (Checkout Header on Page: Checkout template), open Block > Advanced pane and ensure HTML ELEMENT is set to <main><main> tagadd_filter( 'wp_mail', function( $args ) {
exit;
} );
| Before | After |
|---|---|