@extends($activeTemplate . 'layouts.main') @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session()->has('message'))
{{ session()->get('message') }}
@endif @if (session()->has('error'))
{{ session()->get('error') }}
@endif

{{ __($product->name) }}

@php echo $product->description; @endphp

{{-- --}}
Quantity
Price
{{ $product->in_stock }} pcs
₦{{ number_format($product->price) }}
@auth
LAST ORDER
@if($bought_qty == 0) @else @foreach($bought as $data)
{{\Illuminate\Support\Str::limit($data->user_name,4, '.')}}, | bought |{{\Illuminate\Support\Str::limit($data->item, 16, '...')}}|₦{{number_format($data->amount)}}|{{ diffForHumans($data->created_at) }}
@endforeach @endif {{--
--}} {{--

By purchasing any product, you agree that you are fully aware of these--}} {{-- terms/conditions and agree to follow them! 👉🏽 TERMS AND--}} {{-- CONDITIONS

--}} {{--
--}}
@else @endauth
@endsection