Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 939a2c2

Browse files
authored
Apply suggestions from code review
1 parent 91219f2 commit 939a2c2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/testing/releases/580.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ A new block was introduced for filtering products by stock:
2121
![In the block selector](https://user-images.githubusercontent.com/10712881/116401771-ada97480-a83c-11eb-84c0-a67a6562b7ee.png)
2222
![On the frontend](https://user-images.githubusercontent.com/10712881/116402010-f2351000-a83c-11eb-9e30-6e4d5d2cfadc.png)
2323

24-
2. Create a page and on the page add "Filter Products by Stock", "All Products", "Active Filters", and "Filter by Attributes Blocks" to a page.
24+
1. Create a page and on the page add "Filter Products by Stock", "All Products", "Active Filters", and "Filter by Attributes Blocks" to a page.
2525
2. Ensure `Hide out of stock products from catalogue` is **disabled** in **WooCommerce > Settings > Products > Inventory**
26-
2. Set the stock status of some products to `out of stock`, some to `on backorder`.
27-
3. Go to the page on the front end and verify that you can filter products by the three different stock levels.
28-
4. For any product that is `out of stock` change it back to `in stock`. All products should now either be `on backorder` or `in stock`.
29-
5. Reload the page and ensure the option to filter out of stock products is not there.
30-
5. Set some products back to being `out of stock`.
31-
6. Change the `Hide out of stock products from catalogue` to **enabled** in **WooCommerce > Settings > Products > Inventory**
32-
7. Reload the page and ensure the option to filter out of stock products is not there.
33-
8. Add the `Filter Products by Price` and `Filter Products by Attribute` block to the page.
34-
9. Verify that the filters work together and the correct products are shown in the `All Products` block..
26+
3. Set the stock status of some products to `out of stock`, some to `on backorder`.
27+
4. Go to the page on the front end and verify that you can filter products by the three different stock levels.
28+
5. For any product that is `out of stock` change it back to `in stock`. All products should now either be `on backorder` or `in stock`.
29+
6. Reload the page and ensure the option to filter out of stock products is not there.
30+
7. Set some products back to being `out of stock`.
31+
8. Change the `Hide out of stock products from catalogue` to **enabled** in **WooCommerce > Settings > Products > Inventory**
32+
9. Reload the page and ensure the option to filter out of stock products is not there.
33+
10. Add the `Filter Products by Price` and `Filter Products by Attribute` block to the page.
34+
11. Verify that the filters work together and the correct products are shown in the `All Products` block..
3535

3636

3737
### Fix layout issues with Category List Block ([4587](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4587))
@@ -55,5 +55,5 @@ A new block was introduced for filtering products by stock:
5555

5656
#### All Products block
5757
1. Create a post or page with the All Products block.
58-
3. In the editor, make sure you can change the `Order Products By` value under `Content Settings` and the block is updated accordingly.
59-
4. In the frontend, make sure you can change the order products are displayed in.
58+
2. In the editor, make sure you can change the `Order Products By` value under `Content Settings` and the block is updated accordingly.
59+
3. In the frontend, make sure you can change the order products are displayed in.

0 commit comments

Comments
 (0)