converted some functions for showing the product to laravel in product api