moving product details into a component