Skip to main content

first

Returns the first item of an array.

Basic Usage

The first product is : {{ collection.products | first }}
The first product is select title : {{ collection.products | first("title") }}