@extends('admin.layout.app') @section('preload-content') @endsection @section('content')
@if (session()->has('success'))
@if (is_array(session()->get('success')))
    @foreach (session()->get('success') as $message)
  • {{ $message }}
  • @endforeach
@else {{ session()->get('success') }} @endif
@endif @if ($errors->any()) @endif

{{ __('keywords.Edit') }} {{ __('keywords.Product') }}

@csrf
{{-- --}}
@if ($product->type == 'Simple')
@endif @if($product->base_mrp != $product->base_price)
@endif
on_sale) ? 'checked' : '' }} required>
image

@if ($product->size_guide_images) image @else image @endif

@foreach ($images as $im) image @endforeach


@if ($product->type == 'Variable')
@foreach ($product->variations as $index => $variation)
@foreach ($attributes as $attribute) @endforeach @if ($variation->image) @endif
@endforeach
@endif {{ __('keywords.Close') }}
@php $catId = 0; if($sub_category_id->parent != 0){ $catId = $sub_category_id->parent; }else{ $catId = $sub_category_id->cat_id; } // dd($sub_category_id); @endphp @push('scripts') {{-- You must include files that have no direct efect on the load of the page and can be loaded meanwhile other tasks can be performed by user --}} @endpush @endsection