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

  1. Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.

  2. Create a new folder for the customized promotions component configuration file:

    1. Navigate to the following path:

      WC_EAR\xml\config\

    2. 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.

  3. Navigate to the following path:

    WC_EAR\xml\config\com.ibm.commerce.promotion\

  4. Copy the wc-admin-component.xml file to the new com.ibm.commerce.promotion-ext folder you created in the first step.

  5. Open the copied wc-admin-component.xml in an editor. This copy becomes the customized version of the wc-admin-component.xml file.

  6. Change any properties as required for the site.

  7. 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.

  8. Save and close the customized file.

  9. Deploy the customized file to the production environment.


Related concepts

Promotions component configuration file (wc-admin-component.xml)


+

Search Tips   |   Advanced Search