Back to Orders
HIGHHappy Path

Order Cancellation

Verify that orders can be cancelled with proper status updates, optional inventory restoration, and customer notification.

10 steps
~5 min
order-6

Preconditions

  • You are logged in as store admin/owner
  • At least one order exists in cancellable state (PENDING or CONFIRMED, not shipped)

Test Data

Cancellation reason: "Customer requested cancellation" or "Out of stock"

Test Steps

Follow each step carefully

0/10

Navigate to Orders in store admin

Location

Admin sidebar > Orders

Verify

Orders list is displayed

Find an order with PENDING or CONFIRMED status (not shipped) and click to view

Location

Filter by status, click order row

Verify

Order detail page opens

Note the current inventory levels for ordered products

Location

Check product inventory in Products section or note from order

Verify

You know current stock levels to verify restoration later

Note

This step helps verify inventory restoration

Click "Cancel Order" button

Location

Cancel button in order actions, may be in a dropdown menu or action bar

Verify

Cancellation form/modal opens

Enter a cancellation reason

Location

Text field or dropdown with common reasons

Verify

Reason is entered/selected

Check the "Restock items" option if available (to restore inventory)

Location

Checkbox like "Restock items" or "Restore inventory"

Verify

Restock option is selected

Note

This option returns ordered quantities back to stock

Confirm the cancellation

Location

"Cancel Order" or "Confirm Cancellation" button

Verify

Success message appears; order status changes to CANCELLED

Verify order status and that cancellation reason is recorded

Location

Check order detail page for status and notes/reason

Verify

Status shows CANCELLED; cancellation reason is visible in order history/notes

Check inventory levels for the cancelled products

Location

Navigate to Products and check stock levels

Verify

If restock was selected, inventory has been restored by the cancelled quantities

Verify that shipped orders cannot be cancelled

Location

Find an order with SHIPPED status and check for cancel option

Verify

Cancel option is not available or disabled for shipped orders

Note

Shipped orders should not be cancellable through this flow

Expected Result

Order cancellation works: (1) Orders in PENDING/CONFIRMED status can be cancelled, (2) Cancellation reason is required and recorded, (3) Order status changes to CANCELLED, (4) If restock_items selected, inventory quantities are restored, (5) Customer receives cancellation notification email, (6) Cancelled order remains in history for records, (7) Shipped orders cannot be cancelled.

Ready to Complete?

Click when you have verified all steps and the expected result.

Test Info

Module
Orders
Steps
10
Duration
5 min
XP Value
+30