Get field values
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Get field values
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.
The following works fine:
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' );
Code: Select all
$item->getCode();
Re: Get field values
It works if you tell searchItems() that you want to to fetch the price items at well: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' );
Code: Select all
$manager->searchItems( $criteria, array( 'price' ) );