Administer > Manage WebSphere Commerce features > Promotions > Configure the promotion engine


Enable WebSphere Commerce stores to share promotions


Procedure

  1. Create a store relationship between the two stores.

  2. Create a self-referencing store relationship.

    Without this relationship definition, promotions belonging to a customer-facing store are not evaluated. Furthermore, in cases where a customer-facing store has multiple store relationships defined, this self-referencing relationship definition specifies the relative priority of the various promotion sources. The priority is determined by the relative values in the SEQUENCE column.

  3. Configure the promotion engine to use the sequence builder and the agenda builder implementations that exploit the promotions store relationship.

    To configure the promotions engine:

  4. Edit...

      WC_EAR /xml/PromotionEngineConfiguration/WCSPromotionEngineConfig.xml

  5. Locate the following XML element:

    <PromotionExecutionSequenceBuilder impl="com.ibm.commerce.marketing.promotion.runtime.DefaultSequenceBuilder" />

  6. Change it to match the following:

    <PromotionExecutionSequenceBuilder impl="com.ibm.commerce.marketing.promotion.runtime.StorePathSupportedSequenceBuilder"/>

  7. Locate the following XML element:

    <PromotionExecutionAgendaBuilder impl="com.ibm.commerce.marketing.promotion.runtime.DefaultAgendaBuilder">

  8. Change it to match the following:

    <PromotionExecutionAgendaBuilder impl="com.ibm.commerce.marketing.promotion.runtime.StorePathSupportedAgendaBuilder">

  9. Save the file.

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

  11. Stop and restart WebSphere Commerce.


Related concepts

Relationships between stores
Rule-based promotion assets
Promotion engine differences when using the promotion store relationship


+

Search Tips   |   Advanced Search