When given a category, product, and SKU, the ProductListContains servlet bean queries whether a product comparison list includes the given product.

By default, ATG Commerce includes a globally-scoped instance of ProductListContains, located in Nucleus at /atg/commerce/catalog/comparison/ProductListContains.

The ProductListContains servlet bean accepts the following input parameters:

ProductListContains doesn’t set any output parameters. However, it renders one of the following open parameters:

For JSP examples of the ProductListContains servlet bean, refer to Examples of Product Comparison Pages in this chapter.

loading table of contents...