This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Product Sort Clauses¶
Product Sort Clauses are only supported by Product Search (ProductServiceInterface::findProduct).
By using Sort Clause you can filter product by specific attributes, for example: price, code, or availability.
To sort products coming from Quable PIM, see Quable Search API for details about the add-on.
| Sort Clause | Sorting based on | Local product catalog | Quable PIM |
|---|---|---|---|
| BasePrice | Base product price | ✔ | |
| CreatedAt | Date and time of the creation of a product | ✔ | ✔ |
| CustomPrice | Custom product price | ✔ | |
| ProductAvailability | Product's availability | ✔ | |
| ProductCode | Product's code | ✔ | ✔ |
| ProductName | Product's name | ✔ | ✔ |