PHP - wholesale discounts