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.
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\
- In the config folder, add a new com.ibm.commerce.promotion-ext folder
so the path looks like this:
workspace_dir\WC\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:
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.