lot_attribute_value

Retrieves an attribute value for a specific lot.

Example

1
{{ '123' | lot_attribute_value: 'attribute', 'fallback' }} => value

Input

Type Parameter Description Required
string lotId The ID of the LOT. Comes before the | sign. Required
string attribute The attribute to retrieve the value for  
string fallBack The fallback value to return if the attribute is not found  

Output

Type Description
mixed The attribute value or the fallback value if not found