Skip to content

CheckboxAttribute Criterion

The CheckboxAttribute Search Criterion searches for products by the value of their checkbox attribute.

Arguments

  • identifier - string representing the attribute
  • value - bool representing the attribute value

Example

PHP

1
2
3
4
$query = new ProductQuery(
    null,
    new \Ibexa\Contracts\ProductCatalog\Values\Product\Query\Criterion\CheckboxAttribute('automatic', true)
);