Try our conversational search powered by Generative AI!

When evaluating a promotion, amount not based on rounded amount

Found in

EPiServer.Commerce 12.16.0

Fixed in

EPiServer.Commerce 13.0.0

(Or a related package)

Created

Jan 18, 2019

Updated

Mar 29, 2019

Area

Core

State

Closed, Fixed and tested


Description

Pre-condition:

  • Set price of line item A to 100.975.
  • Set promotion "Buy 100.98, get gift item".

Steps to reproduce:

  1. Add 1 line item A to cart--> see that the sub total is 100.98

Expected:
Gift item is applied.

Actual:
Gift item is not applied. (Gift item is applied if we change amount condition to 100.97)