Magidoc

AttributeSortField
Enum

Possible Values

#

NAME

Sort attributes by name

SLUG

Sort attributes by slug

EXTERNAL_SOURCE

Sort attributes by external source

VALUE_REQUIRED

Sort attributes by the value required flag

IS_VARIANT_ONLY

Sort attributes by the variant only flag

VISIBLE_IN_STOREFRONT

Sort attributes by visibility in the storefront

FILTERABLE_IN_STOREFRONT

Sort attributes by the filterable in storefront flag

FILTERABLE_IN_DASHBOARD

Sort attributes by the filterable in dashboard flag

STOREFRONT_SEARCH_POSITION

Sort attributes by their position in storefront

AVAILABLE_IN_GRID

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