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:
- Exit from the store.
- Open the following file in a text editor:
WC_installdir/instances/instance/xml/PromotionEngineConfiguration/WCSPromotionEngineConfig.xml- Locate the PromotionExecutionSequenceBuilder element.
- Change the value of its impl attribute from com.ibm.commerce.marketing.promotion.runtime.DefaultSequenceBuilder to com.ibm.commerce.marketing.promotion.runtime.StaticSequenceBuilder.
- 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:
WC_eardir/Stores.war/ConsumerDirect/index.jsp
To view the sample housewares sales catalog in your store:
- Exit from the store.
- Open the index.jsp file in a text editor.
- Search for the following string:
//* Start: Code sample to get appropriate sale catalog ID.- Follow the instructions provided in the file.
- Launch the store.
Related concepts