State Machine - Important Things to Know
Canceling Orders
Within the CoreShop workflow architecture a lot of orders may stay forever in the new
or confirmed
state.
CoreShop will automatically cancel orders older than 20
days under following conditions:
- Order creationDate >= 20 days ago
- Order State is
initialized
ornew
orconfirmed
- Order Payment State is not
paid
Read more about automation here.
Expire Orders via Backend
There is also a cancel
button in the order detail section.
Expire Orders via Command
There is also a command for that:
$ coreshop:order:expire
Change Orders Expiration Date
core_shop_storage_list:
list:
order:
expiration:
params:
order:
days: 30