If you are using Oracle Commerce Platform’s multisite feature, the /atg/registry/CollectionFilters/CartSharingFilter component, which is a component of class atg.commerce.collections.filter.ItemSiteFilter, filters input item collections by their site IDs.

This filter returns only products that are within the same sharing group, based on the atg.ShoppingCart shareable type configuration (see Configuring Commerce for Multisite in the Core Commerce Programming Guide).

Two additional properties, includeDisabledSites and includeInactiveSites, determine which site states are taken into account (both are false by default). If there is no shareable type, these filters are still taken into account. If there is no current site, all items are returned without filtering.

You can access the CartSharingFilter component in a JSP; see the CollectionFilter section for information.


Copyright © 1997, 2019 Oracle and/or its affiliates. All rights reserved. Legal Notices