map
Takes one property from every item.
Syntax
Section titled “Syntax”array | map: propertyReturns
Section titled “Returns”array
Example
Section titled “Example”{{ product.variants | map: 'title' | join: ' / ' }}S / Sand / M / Sand / L / SandRelated
Section titled “Related”Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

