Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#6035 by Travin
15 Apr 2018, 07:21
I need to get media files of added products to my mini basket. There are json string in ai-client-jsonapi which is creates from objects Aimeos\MShop\Order\Item\Base\Product\Standard
It is not objects Aimeos\MShop\Product\Item\Standard, so we don't have getListItems() method there.
As I understand, data of Aimeos\MShop\Order\Item\Base\Product\Standard is storing at mshop_order_base_product table.
I have two ways: improve Order\Item\Base\Product to give it ability to store refItems. And the second one is calling getProductId() and then use it to get Aimeos\MShop\Product\Item\Standard
Any suggestions?