Updated PageProduct to display a list or detail page based on path