error in list of products
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
error in list of products
Hello,
This code should get the list of products:
$manager = \Aimeos\MShop::create( app( 'aimeos.context' )->get(), 'index' );
$items = $manager->search( $manager->filter() );
but I got this (with no product array list)

Note: I'm using the latest version of aimeos, the previous version work correctly.
This code should get the list of products:
$manager = \Aimeos\MShop::create( app( 'aimeos.context' )->get(), 'index' );
$items = $manager->search( $manager->filter() );
but I got this (with no product array list)

Note: I'm using the latest version of aimeos, the previous version work correctly.
Re: error in list of products
The latest version of the map package introduces lazy loading and the items are only fetched if you iterate over the map or use any of it's methods.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Re: error in list of products
where can I get it's methods??
Re: error in list of products
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
