combinationAttributeValue

function, since version 2.1.3
categories: prestashop

combinationAttributeValue(combinationId, attribute)

This function returns value of specific attribute from given combination.

For example, if product combination are based on two atributes color and size, we can use this function to retrieve size of this combination.

parameters

return type

string

examples

combinationAttributeValue(combination.id, 1)

Related functions:

Update your privacy settings