Multiple on-line coupons are automatically tested on items of interest to a customer, without requiring the customer to perform any action or to look for such coupons in various sources. Such testing can be automatically initiated and performed on items within the customer's shopping cart. Alternatively or additionally, testing can be automatically initiated and performed while the customer is browsing a page for an item on an e-commerce website, before the customer has even placed items in his or her shopping cart. The best coupon or coupons are then presented to the customer, or automatically applied to provide the customer with the appropriate discounts.