Configure the promotion engine for a custom promotion code manager


To configure the promotion engine to use a customer promotion code manager, or a custom promotion code resolver:

  1. Edit the promotion engine configuration XML file in an editor. You can find this file in the following location: WC_eardir/xml/PromotionEngineConfiguration/WCSPromotionEngineConfig.xml

  2. Update the following code segment:
        <PromotionCodeManager impl="
    com.ibm.commerce.marketing.promotion.code.WCSPromotionCodeManager">
             <PromotionCodeResolver impl="
    com.ibm.commerce.marketing.promotion.code.DefaultPromotionCodeResolver"/>
        </PromotionCodeManager>
    
    
    

  3. The two segments in bold should be updated to reflect the custom promotion code manager and the custom promotion code resolver.

  4. Publish the updated configuration file to the production server.


 

Related tasks


Configure the Promotion Engine

 

Related Reference


Example: Promotion engine configuration XML file