# ProductCategorySubtree Criterion

> For the complete documentation index, see [llms.txt](https://doc.ibexa.co/en/saas/llms.txt).

ProductCategorySubtree Search Criterion

The `ProductCategorySubtree` Search Criterion searches for products assigned to a given product category or any of its subcategories.

Unlike the [`ProductCategory` criterion](https://doc.ibexa.co/en/saas/search/criteria_reference/productcategory_criterion/index.md), which matches products assigned to specific category IDs, `ProductCategorySubtree` matches the entire subtree rooted at the provided category, including all descendant categories.

## Arguments

- `taxonomyEntryId` - int representing the ID of the root taxonomy entry (product category) of the subtree to search within
