Skip to content

ProductStockRange Criterion

The ProductStockRange Search Criterion searches for products by their numerical stock.

Arguments

  • min - minimum stock
  • max - maximum stock

Example

PHP

1
2
3
4
$productQuery = new ProductQuery(
    null,
    new Criterion\ProductStockRange(10, 120)
);