Documentation > Search > Sort Clause reference > Product Sort Clauses > ProductStockRange This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version. 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) ); 📋 Copy for LLM 📄 View as Markdown