How to fetch multiple prices added by supplier for an product attribute

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: How to fetch multiple prices added by supplier for an product attribute

Post by aimeos » 26 Jun 2022, 07:49

The prices are both fetched from the database and you should be able to display them using:

Code: Select all

foreach( $attributeItem->getRefItems( 'price' ) as $priceItem ) {
	echo $priceItem->getValue();
}
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply