The scheme lasted more than two years and involved marking down products for certain customers, authorities said.