mshop_product instock column not updating, filtering by stock (display only products in stock)

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!
User avatar
Jairus34
Posts: 30
Joined: 05 Aug 2024, 07:34

Re: mshop_product instock column not updating, filtering by stock (display only products in stock)

Post by Jairus34 » 15 Jan 2025, 05:23

Hi Aimeos, sorry to jump in here, but I have a quick question.

We're using a JSON API endpoint and want to filter products that are in stock for the frontend. Our ERP system updates stock levels and also sets the product.instock column when there's stock. But if a product has just one item left and it gets ordered, will the product.instock column automatically be set to false once it's out of stock?

Thanks!

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

Re: mshop_product instock column not updating, filtering by stock (display only products in stock)

Post by aimeos » 15 Jan 2025, 09:45

No, that isn't the case.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply