The /atg/commerce/gifts/GiftlistManager
component has a siteScope
property that controls how gift lists are shared between sites. Each gift list is associated with a single site, and items from other sites can be added to a gift list if that site is compatible, based on the value of siteScope
. For example, if siteScope
is set to the atg.ShoppingCart
shareable type ID, an item from another site can be added to a gift list only if the other site shares a shopping cart with the gift list’s site.
The /atg/registry/CollectionFilters/GiftlistSiteFilter
component (used by the /atg/commerce/collections/filter/droplet/GiftlistSiteFilterDroplet
component) provides site-based filtering of gift and wish lists and the items in these lists. This filtering mechanism is especially useful for wish lists; a customer can have only one wish list, so filtering is needed to restrict the items shown by site.