get config attributes price

Help for integrating the Laravel package
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!
antonlinderer
Posts: 42
Joined: 14 Sep 2017, 09:59

get config attributes price

Post 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.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: get config attributes price

Post 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-htm ... lt.php#L13

You can match them by the array keys with are the attribute IDs.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply