last
Returns the last item of an array.
Basic Usage
The last product is: {{ collection.products | last }}
The last product is select title: {{ collection.products | last("title") }}
Returns the last item of an array.
The last product is: {{ collection.products | last }}
The last product is select title: {{ collection.products | last("title") }}