@extends('layouts.front') @section('content')
@foreach($productt->galleries as $gal) @endforeach
{{ $productt->name }}
    @if($productt->type == 'Physical') @if($productt->emptyStock())
  • {{ $langg->lang78 }}

  • @else
  • {{ $gs->show_stock == 0 ? '' : $productt->stock }} {{ $langg->lang79 }}

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

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

{{ $productt->showPrice() }} {{ $productt->showPreviousPrice() }} {{ number_format($productt->discount_percentage, 2, '.', '') }}% Off

@if($productt->youtube != null) @endif
@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->has_multiple_options == 1 && count($product_variations) > 0) @foreach($product_variations as $key => $dataa)

{{ $dataa['attribute_name'] }}:

    @php $is_first = true; @endphp @foreach($dataa["attribute_options"] as $key1 => $dataaa)
  • {{ $dataaa }}
  • @php $is_first = false; @endphp @endforeach
@endforeach @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
    @if($productt->product_type != "affiliate")
    • 1
  • @endif @if (!empty($productt->attributes)) @php $attrArr = json_decode($productt->attributes, true); @endphp @endif @if (!empty($attrArr))
    @foreach ($attrArr as $attrKey => $attrVal) @if (array_key_exists("details_status",$attrVal) && $attrVal['details_status'] == 1)
    {{ str_replace("_", " ", $attrKey) }} :
    @foreach ($attrVal['values'] as $optionKey => $optionVal)
    first ? 'checked' : '' }}>
    @endforeach
    @endif @endforeach
    @endif @if($gs->is_buy_now == 1)
  • @endif @endif @endif @if(Auth::guard('web')->check())
  • @else
  • @endif
@if($productt->ship != null)

{{ $langg->lang86 }}: {{ $productt->ship }}

@endif

Product Details

@if($productt->details != "")

{!! $productt->details !!}

@endif

{{ $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
{{-- MESSAGE MODAL --}}
{{-- MESSAGE MODAL ENDS --}} @if(Auth::guard('web')->check()) @if($productt->user_id != 0) {{-- MESSAGE VENDOR MODAL --}} {{-- MESSAGE VENDOR MODAL ENDS --}} @endif @endif
@if($gs->is_report) @if(Auth::check()) {{-- REPORT MODAL SECTION --}} {{-- REPORT MODAL SECTION ENDS --}} @endif @endif @endsection @section('scripts') @endsection