US chains lured shoppers in July with discounts