Commerce allows you to control which sites are allowed to access any given gift list. This functionality allows more than one site to access the same list, effectively letting the sites share the list. Gift list access is controlled by the /atg/commerce/gifts/GiftlistManager component’s siteScope setting. Out of the box, Commerce sets the GiftlistManager.siteScope setting to all, so all gift lists are shared by all sites. Commerce Reference Store’s Store.Estore module modifies this setting and makes the assumption that stores that share shopping carts should also share gift lists, so it sets the siteScope property in the /atg/commerce/gifts/GiftlistManager.properties file as follows:

siteScope=atg.ShoppingCart

This setting dictates that the current site can access its own gift lists as well as any gift lists that are affiliated with sites that share a shopping cart with the current site. For example, in Commerce Reference Store, ATG Store US and ATG Home share a shopping cart, therefore, when ATG Store US is the current site, it can access gift lists affiliated with ATG Store US and ATG Home. ATG Store US cannot access gift lists affiliated with ATG Store Germany because it does not share a shopping cart with ATG Store Germany.

Note that wish lists are always universal. This is because a customer can only have one wish list, so all sites must be able to access it. Commerce provides filtering functionality that allows you to filter the items in a wish list to show only those that are appropriate for the current site context.

Notes: