In order to enable subscription support
in the order component,
the order configuration file must be updated.
About this task
To change any properties
in
the order 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
WebSphere Commerce Developer and switch to the Enterprise Explorer
view.
- Expand the WC project
- Expand the xml folder
- Right-click on the config folder
and select
- Name the folder com.ibm.commerce.order-ext
If this folder exists and contains a customized version of
the wc-admin-component.xml file, then open the
file and skip to step 8
- Right-click on the com.ibm.commerce.order-ext folder
and select
- Enter wc-admin-component.xml as
the
file name
- Double-click the file wc-admin-component.xml to
open it
- If the file
existed, click the source tab and locate the <_config:extendedconfiguration> section
and paste the following within it:
<_config:configgrouping name="SubscriptionConfig">
<!-- Enable Subscription by setting the enable value to Y -->
<_config:property name="enable" value="Y"/>
</_config:configgrouping>
- If the file has just been created, click
the source tab and
enter the following text in the file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<_config:DeploymentConfiguration
xmlns:_config="http://www.ibm.com/xmlns/prod/commerce/foundation/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ibm.com/xmlns/prod/commerce/foundation/config ../xsd/wc-admin-component.xsd">
<_config:extendedconfiguration>
<_config:configgrouping name="SubscriptionConfig">
<!-- Enable Subscription by setting the enable value to Y -->
<_config:property name="enable" value="Y"/>
</_config:configgrouping>
</_config:extendedconfiguration>
</_config:DeploymentConfiguration>
- Save the file
- Restart the
WebSphere Commerce Server.