Skip to main content

AttributeSortField Enum

No description

enum AttributeSortField {
NAME
SLUG
VALUE_REQUIRED
IS_VARIANT_ONLY
VISIBLE_IN_STOREFRONT
FILTERABLE_IN_STOREFRONT
FILTERABLE_IN_DASHBOARD
STOREFRONT_SEARCH_POSITION
AVAILABLE_IN_GRID
}

Values

AttributeSortField.NAME

Sort attributes by name

AttributeSortField.SLUG

Sort attributes by slug

AttributeSortField.VALUE_REQUIRED

Sort attributes by the value required flag

AttributeSortField.IS_VARIANT_ONLY

Sort attributes by the variant only flag

AttributeSortField.VISIBLE_IN_STOREFRONT

Sort attributes by visibility in the storefront

AttributeSortField.FILTERABLE_IN_STOREFRONT

Sort attributes by the filterable in storefront flag

AttributeSortField.FILTERABLE_IN_DASHBOARD

Sort attributes by the filterable in dashboard flag

AttributeSortField.STOREFRONT_SEARCH_POSITION

Sort attributes by their position in storefront

AttributeSortField.AVAILABLE_IN_GRID

Sort attributes based on whether they can be displayed or not in a product grid.

Member Of

AttributeSortingInput input