@extends('layouts.admin-main') @section('content')
@if (count($errors) > 0)
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@method('PUT') {{ csrf_field() }}
is_main ? 'checked' : ''}} name="is_main" onclick="validates()" id="is_main" style="width: 1.5rem;height: 1.5rem">
fixed_price ? 'checked' : ''}} name="fixed_price" onclick="validates()" id="fixed_price" style="width: 1.5rem;height: 1.5rem">
{{-- @if(!in_array($product-categories->id,[1,2,3]))--}}
is_main ? 'hidden="hidden" ' : ''}}>
{{-- @endif--}}
{{-- @if($product-categories->name=='Diamond'|| $product-categories->name=='ពេជ្រ'|| $product-categories->name=='เพชร' || $product-categories->parent?->name=='Diamond'||$product-categories->parent?->name=='ពេជ្រ'||$product-categories->parent?->name=='เพชร')--}} {{-- @else--}} {{--
--}} {{-- @endif--}}
@error('logo')
{{ $message }}
@enderror
{{ __('message.cancels') }}
{!! Form::close() !!} @endsection @section('scripts') @endsection @section('meta') {{ __('message.product') }} - {{$settings_->shop_name}} @endsection