12 KiB
12 KiB
Testing notes and ZIP for release 6.8.0
Zip file for testing: woocommerce-gutenberg-products-block.zip
WC Core
FSE: Add support for the global style for the Price Filter block. (5559)
- Upgrade to
WordPress 5.9
. - Install and enable the
Twenty Twenty-Two
theme. - Add the
Price Filter block
to a post. - On the right sidebar, personalize the styles of the block.
- Go on the page and check if there are changes.
- Reset to default using the
Reset
button from the different sections. - Go to Dashboard and select Appearance > Editor (beta). On top of the screen, select Home > Browser all templates > Single Post. When the page is loaded, add the block to the page.
- On the Editor page click on the
Styles
icon on the right-top corner. - Verify that the
Price Filter block
is shown under theBlocks
section. Personalize the block. - Save your changes.
- Go on the page created earlier and check if all styles are applied correctly.
- Edit your previous post/page again.
- Change again the styles.
- Save your changes.
- Check if these styles have priority over the styles from the Site Editor.
FSE: Update the block theme folders to latest Gutenberg convention (i.e. templates
and parts
). (5464)
- Activate the Gutenberg plugin (or use WordPress 5.9). Select a block theme e.g. TT1 Blocks.
- Open Appearance > Editor > Templates.
- Make sure all the templates and parts appear correctly. WooCommerce templates that should be available:
Archive Product
,Single Product
,Product Category
andProduct Tag
. WooCommerce template-parts that should be availableMini Cart
.
FSE: Add support for the wide and full alignment for the legacy template block. (5433)
- Activate the Gutenberg plugin (or use WordPress 5.9). Select a block theme e.g. TT1 Blocks.
- From the dashboard, click on Theme > Site Editor.
- Check Site Editor > Templates.
- Edit a legacy template (for example
Product Category Page
). - Check if you can change the alignment.
- Change it.
- Check if the changes are also reflected on the frontend side.
You should test these steps at least one between Product Category Page
, Product Archive Page
and Product Tag Page
.
You should test Single Product Page
.
Added controls to product grid blocks for filtering by stock levels. (4943)
- Create a new post.
- Add a new product grid block (namely,
Products by Attribute
,Products by Tag
,Top Rated Products
,Products by Attribute
,On Sale Products
orNewest Products
). - In the right hand edit column, open the 'Stock level' panel.
- Change the drop down menu setting and observe the product list changing to match the new filter.
- Repeat with any variations and combinations of settings.
All Products block displays thumbnails. (5551)
- With a previous version of Woo Blocks and create a new post and add
All Product
block and save it. Enable the version of this release (6.8.0). - Add a product with a portrait image (example you can use), and one with a landscape image (example you can use).
- Edit the existing page with the
All Products block
. Edit the block, select the image. In the sidebar, under "Block" tab, the "Image Sizing" setting should be "Full Size". This confirms existing blocks are not affected. - Visit the page with this block on the front end. Sort by "latest" so that the two new products you added are visible. Notice the aspect ratios of these are different and cause the other items out of alignment.
- Add the
All Products
block to a new page and save it. - Edit the
All products
block, click on pencil to edit and select the image. In the sidebar, under "Block" tab, the "Image Sizing" setting should have "Cropped" selected. - Visit this page on the front end and sort by "latest" so that the two new products you added are visible.
- All product images should be the same aspect ratio and align within the grid.
- Go to Appearance > Customize > WooCommerce > Product Images and set a custom aspect ratio (for example, 16:9).
- Visit the all products page again. All product images should be rendered with this new aspect ratio.
Filter Products By Price block: Don't allow to insert negative values on inputs. (5123)
- Create a post and add
All Products
block and addFilter Products by Price
block. - Save the post.
- Go to the page having all the above block added.
Check that:
- the user can't insert in both inputs a negative number.
- the user can't insert on input left a number that is greater than input on the right.
- if the user inserts on the input on the right a number that is lower than input on the left, the component sets to 0 the minimum price.
Feature Plugin only
Hold stock for 60mins if the order is pending payment. (5546)
- Edit an item and ensure it has inventory enabled.
- Successfully place an order.
Fix duplicated checkout error notices. (5476)
- Make sure you're using the Blocks checkout and an payment method configurate (for example Stripe).
- Add 1 or more products to your cart.
- Go to the blocks checkout page
- Pay through the credit card form with a card that will be declined, e.g. 4000 0000 0000 0002.
- Ensure that only one error notice is displayed
Store API and Cart block now support defining a quantity stepper and a minimum quantity. (5406)
- Smoke test adding items to cart and changing quantity, either via the + and - buttons, or directly via the input.
- Edit a product and make it "sold individually"
- Confirm that no quantity box shows on the cart page for this product
- Edit a product and set stock to 6, no backorders.
- Confirm that you can only have 6 maximum for this product.
Fixed a styling issue in the Checkout block when an order has multiple shipping packages. (5529)
- Install
Woo Subscriptions
. - Add Simple subscription product with a subscription price and a signup fee.
- Go to the front-end and add the subscription price to the cart.
- Go to the
Checkout
block and look at the shipping options, notice that there is a gap between the two shipping options.
Fixed a visual bug (#5152) with the points and rewards plugin. (5430)
- Install
WooCommerce Points and Rewards
, go to WooCommerce > Points and Rewards and add points to your user. - Go to WooCommerce > Points and Rewards > Settings and enable "Allow partial redemption"
- Go to Cart and see the input to redeem points is showing
- The text input should be inline with the "Apply Discount" button
Remove Stripe Payment Method Integration (which is now part of the Stripe Payment Method extension itself). (5449)
Install the Stripe Payment Method Extension, activate it, enable it and test it works by:
- Adding items to your cart.
- Go to checkout.
- Select Stripe Credit Card extension and make a payment. Do so while logged in and save the card to your account.
- Repeat checkout with a saved card.
Experimental blocks only
FSE: Add support for the global style for the Product Title block. (5515)
- Upgrade to
WordPress 5.9
. - Install and enable the
Twenty Twenty-Two
theme. - Add the
All Product Block
(this block containsProduct Title block
) to a post. - Click on the pencil to edit the block, add the
Product Title block
and get the focus on theProduct Title block
. - On the right sidebar, personalize the styles of the block.
- Go on the page and check if there are changes.
- Reset to default using the
Reset
button from the different sections. - Go to Dashboard and select Appearance > Editor (beta). On top of the screen, select Home > Browser all templates > Single Post. When the page is loaded, add the block to the page. Click on the pencil to edit the block, add the
Product Title block
. - On the Editor page click on the
Styles
icon on the right-top corner. - Verify that the
Product Title block
is shown under theBlocks
section. Personalize the block. - Save your changes.
- Go on the page created earlier and check if all styles are applied correctly.
- Edit your previous post/page again.
- Change again the styles.
- Save your changes.
- Check if these styles have priority over the styles from the Site Editor.
FSE: Add support for the global style for the Stock Indicator block. (5525)
- Upgrade to
WordPress 5.9
. - Install and enable the
Twenty Twenty-Two
theme. - Add the
All Product Block
(this block containsStock Indicator block
) to a post. - Click on the pencil to edit the block, add the
Stock Indicator Block
and get the focus on theStock Indicator block
. - On the right sidebar, personalize the styles of the block.
- Go on the page and check if there are changes.
- Reset to default using the
Reset
button from the different sections. - Go to Dashboard and select Appearance > Editor (beta). On top of the screen, select Home > Browser all templates > Single Post. When the page is loaded, add the block to the page. Click on the pencil to edit the block, add the
Stock Indicator Block
. - On the Editor page click on the
Styles
icon on the right-top corner. - Verify that the
Stock Indicator block
is shown under theBlocks
section. Personalize the block. - Save your changes.
- Go on the page created earlier and check if all styles are applied correctly.
- Edit your previous post/page again.
- Change again the styles.
- Save your changes.
- Check if these styles have priority over the styles from the Site Editor.
FSE: Add support for the global style for the Summary Product block. (5524)
- Upgrade to
WordPress 5.9
. - Install and enable the
Twenty Twenty-Two
theme. - Add the
All Product Block
(this block containsSummary Product block
) to a post. - Click on the pencil to edit the block, add the
Summary Product block
and get the focus on theSummary Product block
. - On the right sidebar, personalize the styles of the block.
- Go on the page and check if there are changes.
- Reset to default using the
Reset
button from the different sections. - Go to Dashboard and select Appearance > Editor (beta). On top of the screen, select Home > Browser all templates > Single Post. When the page is loaded, add the block to the page. Click on the pencil to edit the block, add the
Summary Product block
. - On the Editor page click on the
Styles
icon on the right-top corner. - Verify that the
Summary Product block
is shown under theBlocks
section. Personalize the block. - Save your changes.
- Go on the page created earlier and check if all styles are applied correctly.
- Edit your previous post/page again.
- Change again the styles.
- Save your changes.
- Check if these styles have priority over the styles from the Site Editor.