Cancel Variants lets you discontinue one or more variants in bulk. It removes (or replaces) the variants' open order lines, then deletes or archives the variants themselves — all in one operation.
Starting a session
A cancel-variants session collects the variants you want to discontinue. You start it from a product's variant table.
- Go to Products in the left menu and open a product.
- In the Variants section, tick the variants you want to cancel.
- Open the bulk-action menu (checkbox dropdown) and click Cancel variant(s).
TRAEDE creates a new session and takes you to the session page. If you already have an active session, the selected variants are added to it instead.
Adding variants from multiple products
A session can contain variants from different products. To add more variants after the session is created:
- Navigate to another product.
- Select the variants you want to add.
- Click Cancel variant(s) from the bulk menu again.
The variants are added to your existing session and you are taken back to the session page. Repeat for as many products as needed.
The session page
The session page shows every variant in the session and the open order lines that will be affected.
At the top you can switch between two views:
- Products — grouped by product, then variant, then order lines.
- Orders — grouped by order, then order lines.
Below the view selector are two session-level defaults that apply to all variants unless overridden:
- Default disposition action — what happens to the variant after execution (see Dispositions below).
- Default cancellation reason — the reason attached to cancelled order lines (see Cancellation reasons below).
Dispositions
The disposition controls what happens to the variant itself after its order lines have been handled. There are two options:
| Disposition | Effect |
|---|---|
| Delete variants | The variant is permanently deleted from the product. |
| Archive variants | The variant is archived (hidden but still in the system). |
Set the Default disposition action at the top of the session to apply to all variants. You can then override individual variants using the Disposition dropdown on each variant row. If left blank, the variant inherits the session default.
Some variants cannot be deleted because they have existing transactions such as invoices, inventory changes, or production orders. These variants show Archive only instead of a dropdown and will always be archived regardless of the default disposition.
Tip: If every variant of a product is cancelled with the Delete disposition, the product itself is also deleted. If every variant is cancelled with Archive, the product is deactivated.
Cancellation reasons
When a variant's order lines are removed, you can attach a cancellation reason to track why the quantity was lost. This uses the same cancellation reasons you configure under Settings → Cancellation reasons.
Cancellation reasons are set at three levels, each overriding the one above:
- Session default — the Default cancellation reason dropdown at the top of the page. Applies to all order lines unless overridden.
- Variant level — in the Action column of a variant row, you can pick a reason from the Reason dropdown. This overrides the session default for all of that variant's order lines.
- Order line level — expand a variant to see its individual order lines. Each line can have its own reason, overriding the variant-level setting.
The cancellation reason dropdown only appears when the action is set to Remove. Lines with the Replace action do not receive a cancellation reason.
For more on setting up and using cancellation reasons, see [LINK: Cancellation reasons].
Actions: Remove vs Replace
Each variant's open order lines can be handled in one of two ways:
| Action | What happens |
|---|---|
| Remove | The order line is deleted. A cancelled line record is created on the order with the quantity and cancellation reason. |
| Replace | The order line is deleted and a new line is created with a different variant (same quantity). Enter the replacement variant's SKU or EAN in the text field that appears. |
Set the action on a variant row to apply it to all of that variant's order lines. You can also override individual order lines (see Per-order-line overrides below).
Per-order-line overrides
By default, every order line inherits its variant's action, cancellation reason, and replacement SKU. You can override any of these for individual order lines.
- Switch to the Products view.
- Expand a product row, then expand a variant row to see its order lines.
- On the order line you want to customize, change the Action, Reason, or replacement SKU.
Overridden lines are highlighted in yellow. The variant row shows an amber dot indicating that some of its lines have been customized.
To reset an override back to the variant default, click the reset icon next to the overridden line. A tooltip shows what the variant default is so you can compare before resetting.
Removing a variant from the session
If you added a variant by mistake, click the × button on the variant row to remove it from the session. This does not delete the variant — it simply excludes it from this cancellation session.
Saving and executing
Changes you make on the session page are not saved automatically. A panel at the bottom of the page shows the number of unsaved changes.
- Click Save to persist your changes.
- Click Discard to revert all unsaved changes.
When you are ready to carry out the cancellation:
- Save any pending changes.
- Click Execute in the top right.
- Review the summary in the confirmation dialog. It shows exactly how many variants, products, order lines, and orders will be affected, and how many lines will be removed vs replaced.
- Click Execute to confirm.
Important: This action cannot be undone. Once executed, deleted variants and removed order lines cannot be restored.
The cancellation runs in the background. The page shows a status banner while it is processing. When complete, the session status changes to executed.
If execution fails, an error message is displayed. Click Reset to draft to fix the issue and try again.
What happens when you execute
- Order lines with Remove are deleted. A cancelled line is created on the order recording the original quantity and cancellation reason.
- Order lines with Replace are deleted and new lines with the replacement variant are created at the same quantity.
- If all lines on an order are removed, the order itself is cancelled.
- Variants are deleted or archived according to their disposition.
- If all variants of a product are deleted, the product is also deleted. If all variants are archived, the product is deactivated.
Tip: Cancelled lines are visible on each affected order under the Cancelled tab. You can also include cancelled lines on order confirmation PDFs — enable this under Settings → Sales.
Discarding a session
If you decide not to proceed with the cancellation, you can discard the entire session. This removes the session without affecting any variants or orders. There is currently no way to navigate back to a session once you leave the page, so make sure to bookmark or keep the tab open if you want to return to it later.
Related articles
- [LINK: Cancellation reasons — how to set up and use cancellation reasons for tracking why order quantities are lost]
- [LINK: Cancelling and reopening an order — how to cancel or reopen an entire order]