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.
CustomPrice Criterion¶
The CustomPrice
Search Criterion searches for products by their custom price for a specific customer group.
Arguments¶
value
- aMoney\Money
object representing the price in a specific currency- (optional)
operator
- Operator constant (EQ, GT, GTE, LT, LTE, default EQ) - (optional)
customerGroup
- aCustomerGroupInterface
object representing the customer group to show prices for. If you do not provide a customer group, the query uses the group related to the current user.
Limitations¶
The CustomPrice
Criterion is not available in the Legacy Search engine.
Example¶
PHP¶
1 2 3 4 5 6 7 |
|