@extends('user_layout.app') @section('content')
{{-- LEFT: Images --}}
@if($product->images->count() > 0)
@foreach($product->images as $key => $image)
thumb
@endforeach
@endif
{{-- RIGHT: Product Details --}}

{{ $product->name }}

QR {{ number_format($product->special_price, 2) }} – QR {{ number_format($product->standard_price, 2) }}

{{ $product->description }}

{{-- Alerts --}} @if(session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- Qty + Get Quote --}}

♡ Add to Wishlist

{{-- TABS --}}
{{-- You can replace this with dynamic field if you have --}}

{{ $product->description }}

{{-- Example table --}}
Category {{ $product->category->name ?? '-' }}
Special Price QR {{ number_format($product->special_price, 2) }}
Standard Price QR {{ number_format($product->standard_price, 2) }}
@endsection @push('script') {{-- If already in layout then REMOVE this --}} @endpush