Using a priori algorithm for supporting an e-commerce system