Update Product.php

json and html format to product index and view