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.
BasePrice Sort Clause¶
The BasePrice
Sort Clause sorts search results by the product's base price.
Arguments¶
currency
- aCurrencyInterface
object representing the currency to check price for- (optional)
sortDirection
- ProductQuery constant, eitherProductQuery::SORT_ASC
orProductQuery::SORT_DESC
Limitations¶
The BasePrice
Sort Clause is not available in the Legacy Search engine.
Example¶
1 2 3 4 5 6 7 |
|