Change status from unfinished to deleted

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
skydev
Posts: 18
Joined: 01 Jul 2021, 10:24

Change status from unfinished to deleted

Post by skydev » 11 Mar 2022, 05:21

Hello guys,

just want to confirm, with order/cleanup/unfinished crone can we extend and make sure it just change the status to deleted instead of permanently deleting the order

will it make any bigger difference ?

User avatar
aimeos
Administrator
Posts: 7915
Joined: 01 Jan 1970, 00:00

Re: Change status from unfinished to deleted

Post by aimeos » 11 Mar 2022, 07:49

No, that doesn't have any other consequences but if you want to keep the orders, just don't add "order/cleanup/unfinished" to the list of tasks in the cronjobs. The order status "unfinished" and "deleted" both behave the same.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

skydev
Posts: 18
Joined: 01 Jul 2021, 10:24

Re: Change status from unfinished to deleted

Post by skydev » 11 Mar 2022, 09:53

No ,

Actually unfinished order cron managee stock/and voucher so we need to execute that just don't want to delete them permanently

User avatar
aimeos
Administrator
Posts: 7915
Joined: 01 Jan 1970, 00:00

Re: Change status from unfinished to deleted

Post by aimeos » 11 Mar 2022, 10:00

That's true, the reserved stocks are released.

You can change the status from "unfinished" to "deleted" without problems. If you can create a PR which makes that configurable, we are happy to merge it into the core :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply