Made search bar on product page functional