Core Commerce includes a ShareableType component, /atg/commerce/ShoppingCartShareableType, which is of class atg.multisite.NucleusComponentShareableType. This component is configured to manage the sharing of the shopping cart and the product comparisons list:
paths=/atg/commerce/ShoppingCart,\
/atg/commerce/catalog/comparison/ProductList
If you want sharing of these components to be managed independently, you can create separate ShareableType components for them. To do this:
Remove the
ProductListcomponent from thepathsproperty ofShoppingCartShareableType.Create a separate component of class
NucleusComponentShareableTypeand set itspathsproperty to/atg/commerce/catalog/comparison/ProductList.Register the new component with the
/atg/multisite/SiteGroupManagercomponent by adding it to that component’sshareableTypesproperty. For example:
shareableTypes+=/myShareableTypes/ProductListShareableType

