Add product to basket return out of stock error

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

Add product to basket return out of stock error

Post by traiyani75 » 08 Feb 2021, 06:52

Hello,

We are using Aimeos APIs into mobile application. In that, we have two stores.

Also, we are using customer endpoints to perform customer related operation.
Now, we are facing strange error when we add product to basket. Generally it should add successfully if product has stocks. But, for some user we are getting product out of stock error for every products.
"errors": [
{
"title": "Products out of stock"
}
]
We are not able to find the real issue for the error. Please suggest us about what problem is happening on this.

Thanks in advance :)

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

Re: Add product to basket return out of stock error

Post by aimeos » 08 Feb 2021, 07:35

If it's only related to some customers, it's most likely a site related issue, i.e. the customer record uses another site ID than the stock record for the product.
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: Add product to basket return out of stock error

Post by traiyani75 » 08 Feb 2021, 10:18

We checked that, It is not look like site related issue.
As that user can add some products on cart, but after few insert. Process will stop automatically and returning out of stock error for all products

Pls review this video : https://drive.google.com/file/d/1WRIxp4 ... sp=sharing

Thanks

Post Reply