Page 1 of 1

get config attributes price

Posted: 28 Nov 2017, 08:57
by antonlinderer
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.

Re: get config attributes price

Posted: 28 Nov 2017, 22:24
by aimeos
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.