collection_get
Get temporarily value from keyed collection
Example
1
{% assign collectionValue = 'name_of_collection' | collection_get: 'name_of_kty' %}
Input
Type | Parameter | Description | Required |
---|---|---|---|
string | collectionName | Name of collection. Comes before the | sign. | Required |
string | key | id of the order | |
string | defaultValue | default value if key doesnt exist |
Output
Type | Description |
---|---|
mixed | The value of the collection |