meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sap_hybris_commerce:orders:promotion_module_key_concepts_features [2019/08/26 17:16] – created Antonio Robirosa | sap_hybris_commerce:orders:promotion_module_key_concepts_features [2019/12/18 20:17] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
<WRAP center round important 100%> | <WRAP center round important 100%> | ||
- | This extension is deprecated since SAP Hybris 6.1. You must use the the Promotion Engine for new projects. | + | This extension is deprecated since SAP Hybris 6.1. You must use the the Promotion Engine for new projects. |
</ | </ | ||
Line 69: | Line 69: | ||
The promotions and their results can be removed from the cart by calling PromotionService.cleanupCart(...) | The promotions and their results can be removed from the cart by calling PromotionService.cleanupCart(...) | ||
- | ===== Worth reading ====== | ||
- | |||
- | Hybris has posted here a UML diagram with the classes used by this extension: | ||
- | |||
- | [[https:// | ||
===== Pitfalls ====== | ===== Pitfalls ====== | ||
- | * **Neither a cart nor an order is aware of promotions.** After any change to the cart or order, you have to recalculate it and then call the method PromotionsService.updatePromotions(...) | + | * **Neither a cart nor an order is aware of promotions.** [[https:// |
* **This extension uses the jalo layer**. The PromotionService delegates the calls to the promotion manager. | * **This extension uses the jalo layer**. The PromotionService delegates the calls to the promotion manager. | ||
- | --Based on Hybris Version | + | --Based on Hybris Version |