Skip to Content
2
Former Member
May 30, 2017 at 02:14 PM

Evaluate future promotions

95 Views

Hi,

I am trying to update an order with future promotions. Scenario is:
Order is created today with delivery next week. The order contains a product which is not on promotion today, but is on promotion next week. I want to have the promotion for next week applied to the order.

Is it possible to evaluate order against promotions on delivery date instead of todays date? Basically any future date.

DefaultPromotionEngineService has an updatePromotions method which takes a lot of arguments - including a date - but they are just disregarded and a simpler updatePromotion method is called instead.

Seems like method signatures was duplicated from the old promotion module, but not completely implemented in the new promotion engine.

Any workarounds?

Cheers