Develop > Presentation layer > Customize promotions > Promotions customization: Management Center > Work with the promotions component configuration file
Changing properties in the promotions component configuration file (wc-admin-component.xml)
To change any properties in the promotions component configuration file (wc-admin-component.xml), create a customized version of the file in a new folder. The customized version of the file must contain only the changed properties.
Before you begin
To understand the properties that this file contains, see Promotions component configuration file (wc-admin-component.xml).
Procedure
- Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
- Create a new folder for the customized promotions component configuration file:
- Navigate to the following path:
WC_EAR\xml\config\
- In the config folder, add a new com.ibm.commerce.promotion-ext folder so the path looks like this:
WC_EAR\xml\config\com.ibm.commerce.promotion-ext\.
If this folder already exists and it contains a customized version of the wc-admin-component.xml file, then open the file and skip to step 6.
- Navigate to the following path:
WC_EAR\xml\config\com.ibm.commerce.promotion\
- Copy the wc-admin-component.xml file to the new com.ibm.commerce.promotion-ext folder you created in the first step.
- Open the copied wc-admin-component.xml in an editor. This copy becomes the customized version of the wc-admin-component.xml file.
- Change any properties as required for the site.
- Within the <_config:configgrouping name="PromotionRuntime"> element, remove any properties that you have not changed so that only the changed properties remain in the customized file.
- Save and close the customized file.
- Deploy the customized file to the production environment.
Related concepts
Promotions component configuration file (wc-admin-component.xml)