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.
| Sort Clause | Sorting based on |
|---|---|
| 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 |