@extends('layouts.default') @section('content')

Update Product

@csrf
@if (session()->has('success'))
{{ session()->get('success') }}
@elseif(session()->has('error'))
{{ session()->get('error') }}
@endif
@if ($errors->has('product_name'))
{{ $errors->first('product_name') }}
@endif
@if ($errors->has('category_id'))
{{ $errors->first('category_id') }}
@endif
@if ($errors->has('product_sku'))
{{ $errors->first('product_sku') }}
@endif
@if ($errors->has('product_stock'))
{{ $errors->first('product_stock') }}
@endif
@if ($errors->has('product_price'))
{{ $errors->first('product_price') }}
@endif
@if ($errors->has('product_image'))
{{ $errors->first('product_image') }}
@endif
@if ($errors->has('product_description'))
{{ $errors->first('product_description') }}
@endif
Remember me
@stop