{{ $product->name }}

Brand
Code: {{ $product->code }}
Status: {{ $product->quantity > 0 ? 'In Stock' : 'Out Stock' }}

@if (!empty($product->offer_price)) {{ $product->price }} {{ $product->offer_price }} @else {{ $product->price }} @endif
@if (!empty(count($ratings))) @endif
  • {{ $product->short_description }}

{{--
@foreach ($colors as $color) @php $colorName = App\Models\Admin\Color::findOrFail($color)->name; @endphp @endforeach
--}}
@foreach ($sizes as $size) {{ $size->name }} @endforeach
@if ($product->quantity > 0)
@endif
@if (!empty(@$product->video_link))
@endif

{!! $product->long_description !!}

    @foreach ($ratings as $rating)
  • @if (!empty($rating->image))
    Commenter Avatar
    @endif

    {{ $rating->name }} {{ date('d-F-Y', strtotime($rating->created_at)) }}

    {!! $rating->review !!}

    {{-- --}}
  • @endforeach