Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#5139 by antonlinderer
28 Nov 2017, 08:57
I have config attributes with associated prices specified. I want to access these price values in a (client/html) template. How do you access them? I know how to access the attributes but I am not able to make the reference to their pricing although pricing is correctly linked to the attributes as I can see them in my basket with correct prices.
#5150 by aimeos
28 Nov 2017, 22:24
The basic attribute data is associated to the product in the detail view but the data associated to attribute items like texts, images, prices, etc. are only available in the separate "detailAttributeItems":
https://github.com/aimeos/ai-client-html/blob/master/client/html/templates/catalog/detail/body-default.php#L13

You can match them by the array keys with are the attribute IDs.