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), you must 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
Procedure
- Open HCL Commerce Developer and switch to the Enterprise Explorer view.
- Create a new folder for your customized promotions component
configuration file:
- Navigate to the following path:
workspace_dir\WC\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 step 2.
- 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 your 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.