@php use App\AttributeSet; use App\Attribute; use App\Brand; use App\Review; use App\Product; use App\PpageBanner; use App\Faq; Use App\BanglaConverter; @endphp @extends('frontend.layouts.home') @extends('frontend.layouts.reviewstyle') @include('frontend.layouts.reviewstyle') @section('content')

@if(Config::get('app.locale') == 'bd') @if(!is_null($product->description_bd)) {!!html_entity_decode($product->description_bd)!!} @else {!!html_entity_decode($product->description)!!} @endif @elseif(Config::get('app.locale') == 'en') {!!html_entity_decode($product->description)!!} @endif

SKU: {{$product->sku}}

@php $attributes = $product->attribute_options; if (!is_null($attributes)) { # code... $unserialize_attributes = unserialize($attributes); $all_keys = array_keys($unserialize_attributes); } @endphp
{{$product->specifications}}
{{__('home.add_a_review')}}
{{__('home.your_rating')}} :
@csrf
@foreach($reviews as $review)
@php $rating = $review->rating; @endphp @foreach(range(1,5) as $i) @if($rating >0) @if($rating >0.5) @else @endif @endif @php $rating--; @endphp @endforeach

{{ $review->user_message }}

{{ $review->user_name }} - {{ date( "F j, Y" ,strtotime($review->created_at)) }}
@endforeach

Related products

@endsection @section('extra_script') @endsection