Hybris types of promotions and rule based promotion

1k views Asked by At

Hybris has several types of "basic" promotions like :

  • ProductPerfectPartnerPromotion
  • ProductBundlePromotion
  • AcceleratorProductBOGOFPromotion
  • AcceleratorProductMultiBuyPromotion
  • ProductPercentageDiscountPromotion
  • OrderThresholdDiscountPromotion

This promotions are simple to configure and understand, however I don't understand the last promotion the hybris OOTB has: RuleBasedPromotion.

What is the diference between the "basics" promotions mentioned before and the rule based promotions?

Also, what is a Promotion Rule Source ? I've see that you can add to a promotion group several promotion rule source.

1

There are 1 answers

0
Raushan Kumar On

Listed Promotions are legacy promotions and some them are compatible with new rule-based promotions.

Why above classes are still present in hybris?

To maximize backward compatibility, the new Promotion Engine provides an implementation of the Promotion service. This allows promotion results to be written by the new Promotion Engine and read by the existing application that calls the Promotion service such as the Accelerator.

This implementation retains the Promotions (Legacy) in your project. Promotion Engine overrides certain Spring beans. Promotions (Legacy) items continue to exist but should be unused.

You can easily migrate to rule-based promotion from legacy promotion. Please follow this link: promo_migration