@extends('admin.layout.app') @section('content') Products Products @include('admin.layout.session') @csrf @method('put') Edit Products Category -Select category- @forelse($categories as $key => $value) id == $product->category_id ? 'selected' : ''}}>{{$value->name}} @empty No Category @endforelse @if ($errors->has('category_id')) {{ $errors->first('category_id') }} @endif Product Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif Default Price @if ($errors->has('default_price')) {{ $errors->first('default_price') }} @endif Old Price @if ($errors->has('old_price')) {{ $errors->first('old_price') }} @endif Product Description {!! $product->description !!} @if ($errors->has('description')) {{ $errors->first('description') }} @endif Product Images Drag your file orSelect {{-- Product Image Accepted formats: png, jpg, jpeg. Max file size 5Mb @if ($errors->has('product_image')) {{ $errors->first('product_image') }} @endif @if($product->product_image == '' || !File::exists('backend/assets/images/product_images/thumbnail/'.$product->product_image)) @else @endif --}} Submit Back Add Attribute @include('admin.product._attribute') Submit Back @endsection @push('js') @endpush @push('js') @endpush