@extends('admin.layouts.app') @section('title', 'Edit '. ($product->product_name ?? '') .' Product') @section('section')

Product Form

@method('put') @csrf
{!! $errors->first('product_name', '

:message

') !!}
{!! $errors->first('product_current_price', '

:message

') !!}

{!! $errors->first('category_id') !!}

{!! $errors->first('weight', '

:message

') !!}

{!! $errors->first('category_id') !!}

{!! $errors->first('description', '

:message

') !!}

{!! $errors->first('additional_information', '

:message

') !!}

{!! $errors->first('meta-title', '

:message

') !!}
{!! $errors->first('meta-description', '

:message

') !!}
{!! $errors->first('meta-keywords', '

:message

') !!}

@php $counter = 0; @endphp @forelse($product->product_images as $product_image) @php $counter++; @endphp @empty @endforelse @if($counter > 0) @endif
Product Image Select Image
{{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @php--}} {{-- $counter2 = 0;--}} {{-- @endphp--}} {{-- @forelse($product->product_ribbons as $product_image)--}} {{-- @php--}} {{-- $counter2++;--}} {{-- @endphp--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @empty--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @endforelse--}} {{-- --}} {{-- @if($counter2 > 0)--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @endif--}} {{--
Ribbon ImageSelect Image
--}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}}
@endsection @section('script') @endsection