Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules: Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#1823 by vikram
28 Aug 2015, 08:13
Hi,

I have items after a search execution. I need to access it non-basic values like price, description ect. How to do that in the php code. Some thing like the follow is not working.
Code: Select all$price = $item->getRefItems( 'price', 'default', 'default' );


The following works fine:
Code: Select all$item->getCode();
#1824 by aimeos
29 Aug 2015, 22:39
vikram wrote:I have items after a search execution. I need to access it non-basic values like price, description ect. How to do that in the php code. Some thing like the follow is not working.
Code: Select all$price = $item->getRefItems( 'price', 'default', 'default' );



It works if you tell searchItems() that you want to to fetch the price items at well:
Code: Select all$manager->searchItems( $criteria, array( 'price' ) );