- Documentation >
- Search >
- Product Search Criteria >
- ProductType
ProductType Criterion
The ProductType
Search Criterion searches for products by their codes.
Arguments
productType
- string(s) representing the Product type(s)
Example
| $query->query = new Ibexa\Contracts\ProductCatalog\Values\Product\Query\Criterion\ProductType(['dress']);
|