Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.
Basket order return
An order has been successfully placed, paid for, and shipped.The customer exercises their right of return and sends back all or part of the goods.
In this case, a return order is created, which refers to the original order (via tx_shop_domain_model_basketorder.parent).The return order contains the returned products as negative entries and results in a credit note, which is used to refund the corresponding amount to the customer.
The return order thus serves to technically document the return of goods and to ensure the correct commercial processing of the original order.
stateDiagram-v2
%% Prerequisite:
%% the original order has been shipped (shipped_date set)
[*] --> prepared : Return is being prepared\n(reference to original order)
prepared --> credited : Credit note created\n(new document number,\nnegative line items)
credited --> refunded : Amount refunded\n(manually)
refunded --> processed : Return completed
%% End state
processed --> [*]
%% Logistic events (not states)
note right of credited
Optional feature can be implemented
on request:
- Register the return\nquantity, date, note
- Update stock level
end note
TypoScript configuration
plugin.tx_shop.settings.basketOrder {
orderOptions {
return {
status {
prepared {
allowed {
credited =
}
}
credited {
allowed {
refunded =
}
}
refunded {
allowed {
processed =
}
}
processed {
allowed =
}
}
}
}
}
