ProductStock plugins

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!
traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

ProductStock plugins

Post by traiyani75 » 23 Jul 2020, 07:49

Hello,

We have enabled ProductStock plugins but seems like it is not working.
We have product with stock count 2, we added both into the basket. Now. from basket we are trying to update qty from 2 to 3. And it is not returning any error. I think that plugins should return out of stock error when we update qty and it doesnt match with stock.

Please suggest. Thanks

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

Re: ProductStock plugins

Post by aimeos » 27 Jul 2020, 08:56

Is the quantity in the basket "3" after updating the quantity or still "2"?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Re: ProductStock plugins

Post by traiyani75 » 28 Jul 2020, 04:56

Default stock value is 2.
We added both qty to basket. Then call update basket product and tried to update qty to 3. It is not returning error even if total stock or product is 2 only

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

Re: ProductStock plugins

Post by aimeos » 29 Jul 2020, 17:18

You did not answer our question:
aimeos wrote: 27 Jul 2020, 08:56 Is the quantity in the basket "3" after updating the quantity or still "2"?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Re: ProductStock plugins

Post by traiyani75 » 30 Jul 2020, 06:35

It is updated to 3

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

Re: ProductStock plugins

Post by aimeos » 31 Jul 2020, 09:33

Can you please post a screenshot of the basic and stock sub-part of the product detail view in the admin backend and a screenshot of your basket plugins from the admin backend?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Re: ProductStock plugins

Post by traiyani75 » 01 Aug 2020, 08:33

check attachments.

Thanks & Regards
Attachments
stock.png
stock.png (18.25 KiB) Viewed 2735 times
plugins.png
plugins.png (37.29 KiB) Viewed 2735 times
basic.png
basic.png (19.81 KiB) Viewed 2735 times

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

Re: ProductStock plugins

Post by aimeos » 01 Aug 2020, 08:51

Does that product contain stock levels from other vendors?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Re: ProductStock plugins

Post by traiyani75 » 03 Aug 2020, 18:44

No, It doesnt

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

Re: ProductStock plugins

Post by aimeos » 04 Aug 2020, 05:59

Please add some debug statements here and see what happens in your case:
https://github.com/aimeos/aimeos-core/b ... p#L59-L170
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply