For OpenCart 2.3, 3.0, 4.0 and 4.1
Rules you can set up in a minute
- Six rules. Each one says: when an order has been in this status for this many hours, change it to that status.
- Typical uses: cancel orders that stay unpaid, mark shipped orders as delivered after a week, move paid orders to processing, close old pending Cash on Delivery orders.
- Limit a rule to one payment method (for example only Cash on Delivery or only bank transfer).
- Add a comment to the order history and choose whether the customer gets the normal order update email.
Safe by design
- A rule changes an order only once. An order that you move back by hand is not changed again by the same rule.
- Preview shows exactly which orders would change before anything happens.
- Rules that point to the same or a missing status are switched off when you save.
- Orders are changed through the shop's own order history, so stock, emails and other extensions behave as usual.
Works without a cron job
- Add one cron line for on-time changes, or let the module apply the rules a few orders at a time whenever the shop is visited (at most every 10 minutes). "Run now" applies them from the admin.
Audit trail
- A log of every automatic change with date, order, rule and statuses. Search by order and export to CSV. The log is kept if you uninstall the module.
Notes
- Time in a status counts from the latest history entry of that status.
- Only orders of the store the module runs in are changed.
- No core files are edited. Turn everything off with one switch.