productFeatureValue
function, since version 2.1.3
categories: product, prestashop
productFeatureValue(productId, featureId)
This function returns value of specific feature for given product.
parameters
- productId: number - id of product for which we want to find feature value
- attribute: number - if of feature
return type
string
examples
productFeatureValue(products.id, 1)