The /atg/registry/CollectionFilters/ProductFilter
component, which is a component of class atg.service.collections.filter.ChainedFilter
, is used to create a chain of collection filters that apply their conditions to a collection of products.
ProductFilter
passes the products to each filter defined in the ProductFilter.filters
property successively and produces a final collection that satisfies the conditions specified by each collection filter. By default ProductFilter.filters
is set to StartEndDateFilter
and InventoryFilter
.
You can access the ProductFilter
component on a JSP using the ProductFilterDroplet
servlet bean. When you ProductFilterDroplet
, the resultant content is cached by default (cacheEnabled
is set to true)
. For more information on the ChainedFilter
class and on caching, see the Filtering Collections chapter of the ATG Personalization Programming Guide.