@extends('layouts.backend') @section('content')

Show a Product

Product Detail

@if(count($errors) > 0)
Whoops! There were some problems with your input.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{--
--}}
@foreach($categories as $category) @if($product->category_id == $category->id) @endif @endforeach
{{--
--}} {{--
--}}
Price For Single Product
@if ($errors->has('price')) {{ $errors->first('price') }} @endif
@if ($errors->has('discount_type')) {{ $errors->first('discount_type') }} @endif
@if ($errors->has('discount_amount')) {{ $errors->first('discount_amount') }} @endif
{{-- Product Price Range --}}
@foreach($product->priceRanges as $count => $countValue)
Price Range
@endforeach
{{-- End of Product Price Range --}} @php unset($count); unset($countValue) @endphp {{-- Start of Product Size --}}
@foreach($product->stocks as $count => $countValue)
@endforeach
{{-- End of Product Size --}} {{--
Retailer Price
Wholesale Price
--}}
{!! $product->description!!}
@isset($product->image) @else @endisset
@isset($product->images) @foreach ($product->images as $zoomImage) @endforeach @else @endisset
{{--
@foreach ($product->images as $zoomImageKey => $zoomImage) @csrf
@endforeach
--}}
@endsection @section('js_after') @endsection