Sort Options
Sort options are managed through the administration interface and stored in the database. Each sort option has:
A display label shown to users
A value used in API requests
The default sort option is determined by the database configuration. When a sort option is selected, its elasticsearch_value is used to construct the Elasticsearch query's sort clause.
Sort options can be configured to sort by price (with inventory strategy support), discount amounts, custom attributes, or other product fields.
Last updated
Was this helpful?

