@extends('backend.layout.master') @section('content') @php $cat_exist = $category->category_id ?? ''; if($cat_exist){ $editcat = explode(',', $cat_exist); } @endphp

Edit Product

@if (count($errors) > 0)
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Edit Product: {{$product->name}}

@csrf @method('PUT')
@if($product->image)
Product Main Image ×
@endif
@foreach($product->gallery as $i => $picture)
Product Gallery Image ×
@endforeach
@endsection @push('specific_css') @endpush @push('specific_js') @endpush