If an item belongs to multiple discount groups that you created, the app will follow the behavior you specified in the "Settings."
In this example, a customer is tagged with discount groups "cart" and "line". The behavior is set to "Apply greatest discount."
Upon checkout, the discount applied is the discount group with the tag "line" because it will provide the greatest discount.
Please note that it is not possible to apply more than one discount to a single product.