Skip to content

Price Product Criterion

The Product Search Criterion searches for prices based on product codes.

Arguments

  • product_code - a string that represents a product code or an array of codes

Example

PHP

1
2
3
4
5
6
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
use Ibexa\Contracts\ProductCatalog\Values\Price\PriceQuery;

$query = new PriceQuery(
    new \Ibexa\Contracts\ProductCatalog\Values\Price\Query\Criterion\Product('ergo_desk')
);