Hi to all,
I've faced a problem with promotions reevaluating.
Seems that ReevaluatePromotions parameter resets the stored discount code (if it was setted as false - CouponCode is on place).
Is it possible to avoid such behavior? Of cource, I can get this CouponCode by Guid (since it is on place), but it doesn't looks like good solution.
Before reevaluating (field CouponCode is not empty):
After (field CouponCode is empty):
cart.ApplyDiscounts(new PromotionEngineSettings { ReevaluatePromotions = true });
cart.AcceptChanges();
Thanks