increment
Outputs a counter, then adds one to it.
Counters are separate from variables made with assign and start at 0.
Syntax
Section titled “Syntax”{% increment name %}Example
Section titled “Example”{% increment cards %}{% increment cards %}{% increment cards %}012Related
Section titled “Related”Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

