Get stock in catalog list

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
loeffe1
Posts: 60
Joined: 21 Feb 2020, 10:33

Get stock in catalog list

Post by loeffe1 » 12 Dec 2025, 11:19

In v21 I was able to get a products stock by adding stock to catalog -> lists -> domains and calling getStockItems() and then getStockLevel(), this no longer works in v25. How can I get the product stock in catalog list in v25?

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

Re: Get stock in catalog list

Post by aimeos » 12 Dec 2025, 16:02

Product getStockItems() is still available:
https://github.com/aimeos/aimeos-core/b ... ce.php#L85

Did you set the product manager decorators manually because stocks are fetched by a new decorator since 2025.x:
https://github.com/aimeos/aimeos-core/b ... /Stock.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
loeffe1
Posts: 60
Joined: 21 Feb 2020, 10:33

Re: Get stock in catalog list

Post by loeffe1 » 18 Dec 2025, 13:09

Thank you!

Post Reply