Removed unnecessary parameters, and minor changes

removed some params in controller and minor changesin product.php