Error: You cannot use more than one “With required purchase” discount in the same order. The first discount will be removed when you select Save - showing when adding with code discounts

A validation error incorrectly appears when adding multiple With Code With Required Purchase discount in Daily & Advance Sales. The only 1 discount per order error should not appear when attempting to apply the same With Code With Required Purchase discount multiple times in Daily & Advance Sales. 
This message should only show if you add two different With Required Purchase discounts to the cart. 

More than one With Required Purchase discount cannot be applied to the same order. 

Steps to Duplicate

Preconditions:
A program with 2 price type exists (ex. adult, child) and is available for both Daily & Advance Sales.
- With code WRP discount exists that will apply to the above program.
  1. Go to Sales > Daily Sales
  2. Add 2 Adult tickets to program made in pre-condition.
  3. Add 2 Child tickets to program made in pre-condition.
  4. Click on Discounts & Promotions button.
  5. In the "Promotion Code" field, enter the code and Save
  6. Discount applies
  7. Now, repeat step 4-5 and add a different code 
  8. See error appear 

Environment

 Altru Arts & Cultural
 4.91

Was this article helpful?