Disable the promotions tool in the WebSphere Commerce Accelerator

Once you have decided to use the new Promotion tool in the Management Center, disable the promotions tool in the WebSphere Commerce Accelerator to prevent your business users from creating promotions using both the WebSphere Commerce Accelerator and the Management Center.

About this taskThe promotions tool in the WebSphere Commerce Accelerator is under the "Marketing" menu selection. In order to remove only promotions from that menu, perform the following steps:

  1. Navigate to the wc_profiledir/xml/tools/common directory.

  2. Open CommerceAcceleratorB2C.xml in an editor.

  3. Locate the following entry:
    <menuitem name="marketing"
       enabled="true" 
       taskUsages="all" 
       users="buyer catMgr makMgr podMgr seller">
    

  4. Within that entry, locate the "promotions" node entry:
    <node name="promotions"
       component="RulesBasedDiscount"
       url="$webapp_accelerator$NewDynamicListView?ActionXMLFile=RLPromotion.RLPromotionList&cmd=RLDiscountListView"
       taskUsages="all"
       users="buyer catMgr makMgr podMgr seller"/>  
    

  5. Place an XML comment around this element, so that it resembles the following:
    <!--  
    <node name="promotions"
       component="RulesBasedDiscount"
       url="$webapp_accelerator$NewDynamicListView?ActionXMLFile=RLPromotion.RLPromotionList&cmd=RLDiscountListView"
       taskUsages="all"
       users="buyer catMgr makMgr podMgr seller"/>
    -->
    

  6. Copy the changed files for your store types to the wc_eardir/xml/tools/common directory.

  7. Deploy the updated file to the application server.

  8. Stop and restart your server for the changes to take effect.

What to do nextVerify that your business users will not see the menu items that you have removed, by logging onto the WebSphere Commerce Accelerator and checking the menu items. Once you have confirmed that your system is operating correctly using the new Management Center tools, you can remove the commented sections of the WebSphere Commerce Accelerator configuration file. You may also want to modify the information shown on the WebSphere Commerce Accelerator home page for your store type to remove the information about what the menu items contain so that your business users are not misled. For example, the highlights listed under "Merchandise" and "Marketing" sections on the main screen (see AcceleratorHomeB2C.jsp) indicate functions that are going to be commented in the previous section, which are being moved to the Management Center.