add page function for product