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

Product Form

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

:message

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

:message

') !!}
{{--
--}} {{-- --}} {{-- --}} {{--
--}}

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

:message

') !!}

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

:message

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

:message

') !!}


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

:message

') !!}
product_stock == "no") readonly @endif id="product_stock_qty" value="{{$product->product_qty}}" required>
{{-- @foreach($sale_price as $sale)--}} {{-- {{ dd($sale) }}--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{-- @endforeach--}} {{-- {{ dd($product->saleprice['sale_price_status']) }}--}}

{{--
--}} {{-- --}} {{-- --}} {{-- {!! $errors->first('location', '

:message

') !!}--}} {{--
--}}

@error('length') {{$message}} @enderror
@error('width') {{$message}} @enderror
@error('height') {{$message}} @enderror
@error('weight') {{$message}} @enderror
@error('harvestDate') {{$message}} @enderror

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

:message

') !!}

Placeholder Select Image
{!! $errors->first('product_image_first', '

:message

') !!}


@php $terpeneCounter = 0; @endphp @forelse($product->terpenes as $tkey => $terpene) @php $terpeneCounter++; @endphp @empty @endforelse
Icon Select Icon Title Description Action
@php $counter = 0; @endphp @forelse($product->product_images as $product_image) @php $counter++; @endphp @empty @endforelse
Product Image Select Image
@php $pProdCounter = 0; @endphp @foreach($promotionProducts as $pProduct) @php $pProdCounter++; @endphp @endforeach
Product Name Price Action
@endsection @section('script') @endsection