Skip to content

Price LogicalOr Criterion

The LogicalOr Search Criterion matches prices if at least one of the provided Criteria matches.

Arguments

  • criterion - a set of Criteria combined by the logical operator

Example

PHP

1
2
3
4
5
6
$query->query = new \Ibexa\Contracts\ProductCatalog\Values\Price\Query\Criterion\LogicalOr(
    [
        new \Ibexa\Contracts\ProductCatalog\Values\Price\Query\Criterion\Currency('USD'),
        new \Ibexa\Contracts\ProductCatalog\Values\Price\Query\Criterion\Currency('EUR')
    ]
);