Striven allows you to apply different discount structures based on the markup of the stock item.
Setting this up ensures you wont give a discount away on low margin items and will automatically provide your customers a better discount depending on what the markup of the item is.
Sample Discount by Markup Spreadsheet