When adjusting the Default Discount, it is taken into consideration if a user has already adjusted specific line items to differ from the existing Default Discount. The behaviors below are intended to respect specific user inputs in certain situations. If a particular line item is negotiated to have a certain discount and the rest of the order has a lesser discount, changes to the Default Discount won’t unintentionally overwrite the larger line-item discounts. For example, say spare light fixtures are charged at a 50% discount. The user can update these line items accordingly. Then, if a Default Discount of 15% is granted for all other line items, these fixtures will remain at a 50% discount. If a line-item discount is set by the user, updating the Default Discount will have two different outcomes.
1. If the line-item set discount is greater than the new Default Discount, it will not update to the new Default Discount.
Example:
Default Discount is set to 20%.
User adjusts a specific line-item discount to 50%
Default Discount is updated to 15%.
The specific line-item discount will remain at 50%.
2. If the line-item discount is less than the new Default Discount, it will update to match the new Default Discount
Example:
Default Discount is set to 10%.
User adjusts a specific line-item discount to 15%
Default Discount is updated to 20%
The specific line-item discount will change to 20%
In any scenario, the max. discount set on a product will be respected.
