Skip to content

ProductType Criterion

The ProductType Search Criterion searches for products by their codes.

Arguments

  • types - string(s) representing the Product type(s).

Example

1
$query->query = new Ibexa\Contracts\ProductCatalog\Values\Product\Query\Criterion\ProductType(['dress']);