get physcial properties with pin product
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!
- GülsümAkça
- Posts: 57
- Joined: 20 Nov 2020, 13:30
get physcial properties with pin product
I want to show physical properties like package-weight package-height besides pin products, how can I do this?
thank you
thank you
Re: get physcial properties with pin product
Add "product/property" to the list of fetched domains in https://aimeos.org/docs/2020.x/config/c ... n/#domains.
Then, you can access the properties using:
https://github.com/aimeos/aimeos-core/b ... ce.php#L67
Then, you can access the properties using:
Code: Select all
$weight = $productItem->getProperties( 'package-weight' )->first()
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