If you are using Core Commerce’s multisite feature, you may want to provide users with the ability to place items from multiple sites in a single order. You do not need to do any additional configuration to use this feature; the ShoppingCart is registered as a shareable component by default and works the same way in a multisite environment as in a single site.

To register the ShoppingCart as a shareable component, it is added by default to the NucleusComponentShareableType component:

shareableTypes+=/atg/multisite/ShoppingCartShareableType

The shareable component that refers to the ShoppingCart can be configured in the following properties file:

/atg/commerce/ShoppingCartShareableType.properties

Note: If your environment is set to run statelessly, the ShoppingCartShareableType component cannot be used. Refer to the Web Services Guide for information on statelessness.

See the Multisite Administration Guide for information on shareable components and how to use sharing groups in your multisite configuration.


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