Product-level discount promotions are applied to the standard
offer price. You can specify how the promotion engine handles cases
where the offer price that a customer sees (as a result of a contract,
or a price negotiation with a Customer Service Representative, for
example) is less than the price that would result from applying the
promotion.
About this task
This procedure affects promotions created in WebSphere Commerce Accelerator only. The code
snippet is already applied by default for Management Center promotions. For more information, see
Example: Promotion engine configuration XML file.
Procedure
- Open WebSphere Commerce Developer.
- Open the promotion engine configuration XML file in an
editor:
WC_eardir/xml/PromotionEngineConfiguration/WCSPromotionEngineConfig.xml
- Update the following code segment:
<PriceAdjustmentBasedOnStandardOfferPrice>
true</PriceAdjustmentBasedOnStandardOfferPrice>
If this value is set to true, then the promotion discount
is not applied if the offer price that a customer sees is less than
the price that would result from applying the promotion. If it is
set to false, then the promotion is applied.
- Save and close the file.
- Restart the WebSphere Commerce server.
- Deploy
the configuration changes to the production environment.