capture
Captures rendered content into a variable.
Syntax
Section titled “Syntax”{% capture name %}…{% endcapture %}Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
name (required) |
string | Variable that receives the text. |
Example
Section titled “Example”{% capture label %}{{ product.title }} · {{ product.vendor }}{% endcapture %}{{ label | upcase }}EMBROIDERED LINEN ABAYA · LAYLARelated
Section titled “Related”Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

