Unfinished / unpaid orders and stocklevel

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
sixbynine
Posts: 93
Joined: 10 Jan 2018, 11:22

Unfinished / unpaid orders and stocklevel

Post by sixbynine » 22 Sep 2018, 08:18

Hello,

I would like to have a better comprehension of the stocklevel management of unfinished / unpaid orders.

I would like to know :

- Is the stocklevel of the product simply normally decreased when the order is stored and increased again when the cleanup job is called ?

If it is, where is it done?
I found an unblock method in the code but I'm not sure in which part of the code the stock is increased / released by the job !

Thank you very much,

sbn

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

Re: Unfinished / unpaid orders and stocklevel

Post by aimeos » 25 Sep 2018, 14:49

Yes, it is. These are the job controllers that call the unblock() method:
- https://github.com/aimeos/ai-controller ... rd.php#L96
- https://github.com/aimeos/ai-controller ... rd.php#L93
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply