question

andrew-d avatar image
andrew-d asked David Marginian Deactivated commented

Multiple Discounts on a line item or order?

Can more than 1 discount be applied to a line item?

Same things with orders? Can an order have multiple discounts?


OrdersPaymentsDiscounts
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

Yes, that is why discounts is an array.

5 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

andrew-d avatar image andrew-d commented ·

Thanks. And are they applied based on the order that they appear in the array?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ andrew-d commented ·

No. You can see how we calculate totals based on discounts here - https://docs.clover.com/docs/calculating-order-totals#step-2-line-item-discounts.

2 Likes 2 ·
andrew-d avatar image andrew-d David Marginian ♦♦ commented ·

Thanks David!

0 Likes 0 ·
Show more comments

Welcome to the
Clover Developer Community