Monday, August 17, 2015

Enabling Recently Viewed Section in WCS

WCS supports inbuilt functionality to display recently viewed section to the user. It will display the products the customer has recently viewed. To enable the functionality, the following configuration changes need to be done in wc-server.xml file, which will be present under xml/config/wc-server.xml in WC project.

1. Open wc-server.xml file

2. Look for tag "<Marketing" and set the value of its "version" attribute to "Dialog"

3. Search for "<PersistentSession" element and set the value of the "cookieExpiry" attribute to "30"

4. Search for "<PersonalizationId" element, and set its "enable" attribute to "true"

5. Look for the following string compClassName="com.ibm.commerce.marketing.dialog.trigger.SensorEventListener" and set the value of "enable" attribute to "true"

6. Search for compClassName="com.ibm.commerce.marketingcenter.events.runtime.ExperimentEvaluationECEventListenerImpl". Change the value of its attribute "enable" to "true"


7. Save the changes and restart the server.

No comments:

Post a Comment