Get Product Detail

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!
jramirezgranada
Posts: 40
Joined: 12 Jul 2018, 19:57

Get Product Detail

Post by jramirezgranada » 14 Aug 2018, 19:42

Hi there;

I've added new fields to products table, in the product detail I could show the additional information, but when I want to show that information in basket I cann't get it, when you use $this->summaryBasket->getProducts() we get some basic information.

How can I get all fields for those products from product table, in the view ?

Thanks
--
Jorge A Ramirez
System Engineer
PHP Developer

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

Re: Get Product Detail

Post by aimeos » 15 Aug 2018, 15:39

The order product item is a flattend and condensed version of the product item.

To get your additional product data into the order product item, you have to extend the order product item and manager and add the new properties also to the copyFrom() method:
https://github.com/aimeos/aimeos-core/b ... d.php#L727
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply