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.
ProductCategorySubtree Criterion¶
The ProductCategorySubtree Search Criterion searches for products assigned to a given product category or any of its subcategories.
Unlike the ProductCategory criterion, 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
Example¶
PHP¶
1 2 3 4 5 6 7 8 9 10 11 12 | |