AttributeSortField Enum
enum AttributeSortField {
NAME
SLUG
VALUE_REQUIRED
IS_VARIANT_ONLY
VISIBLE_IN_STOREFRONT
FILTERABLE_IN_STOREFRONT @deprecated(reason: "This flag is not used by Saleor. Keep the logic in the storefront or use `Attribute` metadata instead.")
FILTERABLE_IN_DASHBOARD @deprecated(reason: "This flag is not used by Saleor. Keep the logic in the dashboard or use `Attribute` metadata instead.")
STOREFRONT_SEARCH_POSITION @deprecated(reason: "This flag is not used by Saleor. Keep the logic in the storefront or use `Attribute` metadata instead.")
AVAILABLE_IN_GRID @deprecated(reason: "This flag is not used by Saleor. Keep the logic in the storefront or use `Attribute` metadata instead.")
}
Values
NAME
NAME
Sort attributes by name
SLUG
SLUG
Sort attributes by slug
VALUE_REQUIRED
VALUE_REQUIRED
Sort attributes by the value required flag
IS_VARIANT_ONLY
IS_VARIANT_ONLY
Sort attributes by the variant only flag
VISIBLE_IN_STOREFRONT
VISIBLE_IN_STOREFRONT
Sort attributes by visibility in the storefront
FILTERABLE_IN_STOREFRONT
FILTERABLE_IN_STOREFRONT
Sort attributes by the filterable in storefront flag
FILTERABLE_IN_DASHBOARD
FILTERABLE_IN_DASHBOARD
Sort attributes by the filterable in dashboard flag
STOREFRONT_SEARCH_POSITION
STOREFRONT_SEARCH_POSITION
Sort attributes by their position in storefront
AVAILABLE_IN_GRID
AVAILABLE_IN_GRID
Sort attributes based on whether they can be displayed or not in a product grid.
Used by
Schema: Saleor 3.23.43. Download SDL.