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

Latest commit

 

History

History
37 lines (26 loc) · 2.22 KB

File metadata and controls

37 lines (26 loc) · 2.22 KB

📣 Announcement: New documentation location

The documentation for WooCommerce Blocks has moved to the WooCommerce monorepo.

Please refer to the documentation in the new location as the files in this repository will no longer be updated and the repository will be archived.


Cart Items

Table of Contents

Setup

What to test

  • You should be able to add items to your cart.
  • You should be able to change item quantity in your Cart.
  • You should not be able to change "sold individually" items quantity.
  • Items that have quantity lower than the threshold should show "x Left in stock". - [ ] You should not be able to increase that item quantity to above that is left in stock.
  • If you try to increase an item quantity to above its stock quantity, you get an error. Note: This is not something that can be tested with a single browser instance. To test you need to do the following:
    • Set a stock of 4 on an item.
    • Open tabs in two different browsers (so you have two different sessions in play).
    • In both browsers add 1 of that item into the cart.
    • In both browsers, load the cart (block).
    • In one browser, increase the quantity of that item to the maximum you can.
    • In the other browser, try increasing the quantity. An error should appear.
  • You should be able to remove an item.

Create Todo list