searching for a certain attribute
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
searching for a certain attribute
Hello Aimeos,
How can I searching for a certain attribute? "find" method doesn't working here:
How can I searching for a certain attribute? "find" method doesn't working here:
Code: Select all
$this->detailProductItem->getRefItems('attribute')->find('color')
Re: searching for a certain attribute
The correct code is:
See: https://github.com/aimeos/aimeos-core/b ... p#L92-L104
Code: Select all
$this->detailProductItem->getRefItems('attribute', 'color')
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star