question

andrew-d avatar image
andrew-d asked David Marginian 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 characters needed characters left characters exceeded

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 answered David Marginian commented

Yes, that is why discounts is an array.

5 comments
10 |2000 characters needed characters left characters exceeded

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

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

0 Likes 0 ·

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 ♦♦ ·

Thanks David!

0 Likes 0 ·
Show more comments

Welcome to the
Clover Developer Community