UI side code for product detail page.