Migrate > Take the first steps after WebSphere Commerce migration > Migrating marketing > Migrating marketing from WebSphere Commerce Accelerator to Management Center v7
Update store pages to use the e-Marketing Spot JSP sample for Management Center
If you previously used WebSphere Commerce Accelerator for marketing management and you have migrated to the Management Center Marketing tool, update any e-Marketing Spot code on the storefront with a different sample JSP snippet. This is required so that the e-Marketing Spots and the store work properly with the Management Center marketing services.
The sample e-Marketing Spot JSP snippet for Management Center is different from the e-Marketing Spot JSP snippet for WebSphere Commerce Accelerator. You must make a copy of the sample e-Marketing Spot JSP snippet for Management Center and paste the contents into the existing e-Marketing Spot snippets. The sample e-Marketing Spot JSP snippet for Management Center is provided in the WebServiceeMarketingSpotDisplay.jsp file that installs with WebSphere Commerce. The sample JSP snippet is not store-specific.
Procedure
- Navigate to the sample e-Marketing Spot JSP snippet for Management Center:
- WCDE_installdir\samples\Snippets\web\Marketing\Campaigns\WebServiceeMarketingSpotDisplay.jsp
- WC_INSTALL\samples\Snippets\web\Marketing\Campaigns\WebServiceeMarketingSpotDisplay.jsp
- Copy the contents of the WebServiceeMarketingSpotDisplay.jsp file. This file contains the sample JSP snippet to use with the Management Center Marketing tool; this file is provided only so that you can copy and paste its contents into the existing e-Marketing Spot snippets.
- Navigate to the include directory at the following location in the development environment:
WCDE_installdir/workspace/Stores/WebContent/StoreDir/include/
- Create a backup copy of the eMarketingSpotDisplay.jsp file.
- Replace the contents of the eMarketingSpotDisplay.jsp file with the contents you copied from the WebServiceeMarketingSpotDisplay.jsp file in a previous step.
- Save the eMarketingSpotDisplay.jsp file with the updated code.
- Update any additional e-Marketing Spot snippets on the store pages. For example, some sample stores also include the StoreCatalogProductESpot.jsp file.
- Test the store to ensure that the updated e-Marketing Spot JSP code is working properly.
- Deploy all updated JSP files.
Previous topic:
Configure the site to support optional Management Center marketing features
Next topic:
Options for managing content spots after moving to Management Center