Auto-Close
Auto-close cancels pending requests that haven't been updated for a set number of days.
Go to WooCommerce → ReturnDesk → Advanced → Regional & Policy.
Settings
| Setting | Default | Description |
|---|---|---|
| Enable Auto Close Requests | Off | Automatically cancel pending requests after the set number of days |
| Auto Close Requests (days) | 14 | Days since the request was last updated. Used only when auto-close is on |
How It Works
A scheduled task (returndesk_pro_auto_close_requests) runs every hour. Each run, it finds pending requests that haven't been updated for longer than the set number of days (up to 500 per run) and for each one:
- changes the status to cancelled
- sends the Cancelled email to the customer (if customer status emails are enabled)
A new days value applies from the next hourly run. Requests that have already been pending longer than the new value are cancelled at that run.