Core 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, Core Commerce sets the GiftlistManager.siteScope
setting to all
, so all gift lists are shared by all sites.
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.
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. Core 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.
Note: See the Core Commerce Programming Guide for more information on using gift and wish lists in a multisite environment.