Consumer direct starter store: Hints and tips

Promotion evaluation sequence

To reconcile the order of promotion display with the order of promotion evaluation (that is, product-level promotions before order-level promotions) in stores based on the consumer direct starter store:

  1. Exit from the store.
  2. Open the following file in a text editor:
    WC_installdir/instances/instance_name/xml/PromotionEngineConfiguration/WCSPromotionEngineConfig.xml
    
  3. Locate the PromotionExecutionSequenceBuilder element.
  4. Change the value of its impl attribute from com.ibm.commerce.marketing.promotion.runtime.DefaultSequenceBuilder to com.ibm.commerce.marketing.promotion.runtime.StaticSequenceBuilder.
  5. Launch the store.

Sales catalog support

Sample code for switching from the master catalog to a sales catalog in a store based on the consumer direct starter store can be found in the following file:

WAS_installdir/installedApps/nodename/WCServer_enterprise_archive/Stores.war/ConsumerDirect/index.jsp

To view the sample housewares sales catalog in your store:

  1. Exit from the store.
  2. Open the index.jsp file in a text editor.
  3. Search for the following string:
    //* Start: Code sample to get appropriate sale catalog ID.
    
  4. Follow the instructions provided in the file.
  5. Launch the store.

Feedback