Story 21.2. Remove or add the bag to an open order

User story

As an admin on saclab.com
I want to replace the bags in the order – and sync to Airtable
So that helps to change bags in the order

Acceptance criteria

01

Given: Open order that has status “on hold” or “pending payment” in WooCommerce / or create a new order

When: remove “bag A”
AND add another “bag B”

Then: Bag A should be back to “stock” (quantity +1) and unlink from the order
And bag B should be “sold” (quantity -1) and attached to the order
AND

Email to seller of bag A: The order of your bag didn’t get through

Email to seller of bag B: Your bag has been sold.

Email to buyer: Invoice #81282: We are waiting for your payment.

02

Given: Order was made on 1.01

When: new bag was added on 3.01

Then: Date sold 1.01 or 3.01?

Date sold = 3.01

Comments

Leave a Reply