@extends('layouts.front') @section('content')
@foreach($productt->galleries as $gal) @endforeach
  • @foreach($productt->galleries as $gal)
  • @endforeach

{{ $productt->name }}

  • {{ $langg->lang77 }}: {{ sprintf("%'.08d",$productt->id) }}

  • @if($productt->type == 'Physical') @if($productt->stock === 0)
  • {{ $langg->lang78 }}

  • @else
  • {{ $langg->lang79 }}

  • @endif @endif
  • {{count($productt->ratings)}} {{ $langg->lang80 }}

{{-- CONTACT SELLER --}}
{{-- If The Product Belongs To A Vendor --}} @if($productt->user_id != 0) {{-- VENDOR PART ENDS HERE :) --}} @else {{-- If The Product Belongs To Admin --}} @endif
{{-- CONTACT SELLER ENDS --}}

{{ $productt->showPrice() }} {{ $productt->showPreviousPrice() }}

    @if($productt->type == 'License') @if($productt->platform != null)
  • {{ $langg->lang82 }}: {{ $productt->platform }}

  • @endif @if($productt->region != null)
  • {{ $langg->lang83 }}: {{ $productt->region }}

  • @endif @if($productt->licence_type != null)
  • {{ $langg->lang84 }}: {{ $productt->licence_type }}

  • @endif @endif @if($productt->product_condition != 0)
  • {{ $langg->lang85 }}: {{ $productt->product_condition == 2 ? 'New' : 'Used' }}

  • @endif @if($productt->youtube != null)
  • {{ $langg->lang219 }}:

  • @endif @if($productt->ship != null)
  • {{ $langg->lang86 }}: {{ $productt->ship }}

  • @endif
@if(!empty($productt->size))

{{ $langg->lang88 }} :

    @php $is_first = true; @endphp @foreach($productt->size as $key => $data1)
  • {{ $data1 }}
  • @php $is_first = false; @endphp @endforeach
@endif @if(!empty($productt->color))

{{ $langg->lang89 }} :

    @php $is_first = true; @endphp @foreach($productt->color as $key => $data1)
  • @php $is_first = false; @endphp @endforeach
@endif @if(!empty($productt->size)) @else @php $stck = (string)$productt->stock; @endphp @if($stck != null) @elseif($productt->type != 'Physical') @else @endif @endif

{!! $productt->details !!}

{!! $productt->policy !!}

{{ $langg->lang96 }}

{{App\Models\Rating::rating($productt->id)}}
@if(count($productt->ratings) > 0)
    @foreach($productt->ratings as $review)
  • {{$review->user->name}}

    {{Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $review->review_date)->diffForHumans()}}

    {{$review->review}}

    @endforeach
@else

{{ $langg->lang97 }}

@endif
@if(Auth::guard('web')->check())

{{ $langg->lang98 }}

@include('includes.admin.form-both') {{ csrf_field() }}
@else

{{ $langg->lang102 }}

@endif
@if($gs->is_comment == 1)
@include('includes.comment-replies')
@endif

{{ $langg->lang245 }}

@foreach($vendors->chunk(3) as $chunk)
    @foreach($chunk as $prod) @include('includes.product.list-product') @endforeach
@endforeach

{{ $langg->lang246 }}

@if( $productt->user_id != 0) @if(isset($productt->user)) {{ $productt->user->shop_name }} @else {{ $langg->lang247 }} @endif @else {{ App\Models\Admin::find(1)->shop_name }} @endif

@if( $productt->user_id != 0)

{{ App\Models\Product::where('user_id','=',$productt->user_id)->get()->count() }}

@else

{{ App\Models\Product::where('user_id','=',0)->get()->count() }}

@endif {{ $langg->lang248 }}
@if( $productt->user_id != 0) {{ $langg->lang249 }} @endif
{{-- MESSAGE MODAL --}}
{{-- MESSAGE MODAL ENDS --}} @if(Auth::guard('web')->check()) @if($productt->user_id != 0) {{-- MESSAGE VENDOR MODAL --}} {{-- MESSAGE VENDOR MODAL ENDS --}} @endif @endif
@endsection @section('scripts') @endsection