- Documentation >
- Search >
- Product Search Criteria >
- ProductName
ProductName Criterion
The ProductName Search Criterion searches for products by their names.
Arguments
productName - string representing the Product name, with * as wildcard
Example
PHP
| use Ibexa\Contracts\ProductCatalog\Values\Product\ProductQuery;
use Ibexa\Contracts\ProductCatalog\Values\Product\Query\Criterion;
$query = new ProductQuery(
null,
new \Ibexa\Contracts\ProductCatalog\Values\Product\Query\Criterion\ProductName('sofa*')
);
|
REST API