7 October 2017
Enhancement
CartsPricing

We now support CartDiscounts to prevent further application of matching CartDiscounts respecting their sortOrder. Therefore, a new field stackingMode has been added. The former behaviour of always applying all matching discounts is now encapsulated in the default value of stackingMode: Stacking.

  • [API] Added stackingMode to CartDiscounts.
  • [API] Allow users to set stackingMode when creating CartDiscounts.
  • [API] Allow users to update stackingMode using the Change Stacking Mode update action.