Shoppers in California had accused the retailer of running a “massive” campaign to trick them into believing that they were getting big discounts.