Skip to content

SortType

The SortType object represents a single type of sorting available within a specific context in the storefront.

classDiagram
  direction LR
  class SortType{
    int id
    string name
  }

Properties

Attribute name Type Description
id int The unique identifier of the sort type.
name string Name of the sort type.

Examples

id property

{{ sortType.id }}
1

name property

{{ sortType.name }}
example name