Copying global e-commerce settings to sites
The Kentico E-commerce Solution enables you to copy global settings to sites as site settings. Such feature is most suitable for cases when you want to use:
- Mix of global and site settings and a specific site needs a modified set of settings
- Global settings as a pattern for new sites and then you modify site settings according to the actual needs
When you do not enable global settings for objects belonging to this group on a given site, the system lists only site-specific objects. The Copy from global button on tabs with settings in the Store configuration application then allows you to copy the global settings for the given object.
Copying global settings to sites could have some unwanted consequences:
If there is a site-specific object with the same code name as a corresponding global object, the system updates the site-specific object with global data.
Example
There are the following currencies in the system before copying the settings:
- A site currency:
- Code name: USD
- Display name: U.S. Dollar
- A global currency:
- Code name: USD
- Display name: American DollarAfter copying the global settings, there will be the following currencies:
- A site currency:
- Code name: USD
- Display name: American Dollar
- A global currency:
- Code name: USD
- Display name: American Dollar
- A site currency:
A site-specific object that is on the site before copying is lost if:
- There is no global object with the same code name.
-AND- - The site-specific object has no dependency on other objects (for example, was not used in any order).
- There is no global object with the same code name.
If there is no global object with the same code name but the site-specific object has a dependency on any other object, the object is only disabled and remains in the system.