@php $version = $basicInfo->theme_version; @endphp @extends('frontend.layout') @section('pageHeading') {{ __('Product Details') }} @endsection @section('metaKeywords') @if (!empty($details)) {{ $details->meta_keywords }} @endif @endsection @section('metaDescription') @if (!empty($details)) {{ $details->meta_description }} @endif @endsection @section('style') @endsection @section('content')
breadcrumb)) data-bg-image="{{ asset('assets/img/' . $bgImg->breadcrumb) }}" @endif>

{{ !empty($details->title) ? $details->title : '' }}

{{ $details->title }}

({{ $details->average_rating }})

{{ symbolPrice($details->current_price) }}

@if (!empty($details->previous_price)) {{ symbolPrice($details->previous_price) }} @endif
{!! $details->summary !!}
{{ __('Category') . ':' }} {{ $details->categoryName }}
{!! replaceBaseUrl($details->content, 'summernote') !!}
@if (count($reviews) == 0)
{{ __('This product has no review yet') . '!' }}
@else
All Reviews
@foreach ($reviews as $review)
@if (empty($review->user->image)) Person Image @else Person Image @endif
@php $name = $review->user->first_name . ' ' . $review->user->last_name; $date = date_format($review->created_at, 'F d, Y'); @endphp
{{ $name }}
({{ $review->rating }})

{{ $review->comment }}

@endforeach
@endif @guest('web') @endguest @auth('web')
Add Review
@csrf
@endauth
@if (!empty(showAd(3)))
{!! showAd(3) !!}
@endif

{{ __('Related Product') }}

@foreach ($related_products as $product)
Product
{{ strlen($product->title) > 15 ? mb_substr($product->title, 0, 15, 'UTF-8') . '...' : $product->title }}
{{ symbolPrice($product->current_price) }}
@if (!empty($product->previous_price)) {{ symbolPrice($product->previous_price) }} @endif
@endforeach
@if (!empty(showAd(3)))
{!! showAd(3) !!}
@endif
@endsection @section('script') @endsection