add search function for product