{{-- flash message starts here --}}
@if ($errors->any())
@endif
@if(Session::has('success'))
{{-- flash message ends here --}}
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{Session::get('success')}}
@endif
{{-- filters starts --}}
{{-- filters --}}
{{-- @include('admin.partials.filters.locationFilter') --}}
{{-- filters ends --}}
{{-- Filters --}}
Products
@if( count($products) != 0 )
@else
@endif
{{-- {{$products->links()}} --}}
# | Image | Title | Slug | SKU | SKU Variant | Quantity | Price | In Sale | In Week Sale | Status | Action |
---|---|---|---|---|---|---|---|---|---|---|---|
{{$sr}} |
@php $imageArray = json_decode($product->images); if(!empty($imageArray)){ foreach($imageArray as $imageData){ $image = $imageData; break; } }else{ $image = null; } @endphp @if(!empty($image) && !empty($image->url)) @endif |
{{$product->title}} |
{{$product->slug}} |
{{$product->sku}} |
@php
$variants = json_decode($product->sizes_data);
@endphp
@if($product->sizes_data && count($variants) > 0)
@foreach ($variants as $variant)
@if(isset($variant->sku))
{{$variant->sku}} @endif @endforeach @endif |
{{$product->quantity}} |
{{$product->price}} |
|
|
|
Reviews Edit Delete |