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- a- CurrencyInterfaceobject representing the currency to check price for
- (optional) sortDirection- ProductQuery constant, eitherProductQuery::SORT_ASCorProductQuery::SORT_DESC
Limitations¶
The BasePrice Sort Clause isn't available in the Legacy Search engine.
Example¶
| 1 2 3 4 5 6 7 |  |