If the retailer allows discounts to be applied to products from their partners, then the discount will be applied to the retailer's share and the supplier will still receive their full portion of the sale.
In other words, the discount is absorbed by the retailer, and the supplier's payment is not affected.