Refitems at Aimeos\MShop\Order\Item\Base\Product\Standard
Posted: 15 Apr 2018, 07:21
Hi
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?
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?