@extends('web.layouts.layout') @section('content')
@include('web.pages.components.header.header')
{{$product->title}}
{{$product->rate}}
@for($i=1;$i<=($product->rate);$i++) @endfor @for($i=1;$i<=(5 - $product->rate);$i++) @endfor
{{$product->rate_count}} {{__('web.rate')}}

SKU : {{$product->sku}}

@if($product->price['percentage'])
{{__('web.discount')}} {{$product->price['percentage']}}%
@endif @if($product->price['offer_percentage'])
{{__('web.discount_offer')}} {{ $product->price['offer_percentage']}}%
@endif

{{$product->price['cost']}} {{__('web.sar')}}.

*{{__('web.inc_vat')}}
@if($product->price['discount'])
{{__('web.cost_after_discount')}}: {{$product->price['cost_before_discount']}} {{__('web.sar')}}.
@endif @if($product->price['offer_percentage'])
{{__('web.cost_after_discount_offer')}}: {{$product->price['cost_before_discount_offer']}} {{__('web.sar')}}.
@endif @if(count($options) && $product->attribute_id)

{{$product->attribute->currentDescription->title}}:

@foreach($options as $key=>$row)
@endforeach
@endif
@if(auth()->user())
{{-- --}} @endif
{{__('web.on_hand_cost')}}
{{__('web.secure_pay')}}
{{__('web.free_shipping')}}
{{__('web.refund_14_days')}}
{{__('web.rated_by_nagi')}}
{{__('web.overview')}}
{{__('web.about_product')}}
{!! $product->description !!}
@if(count($items))
{{__('web.descriptions')}}
    @foreach($items as $row)
  • {!! $row->currentDescription->title !!}
    {!! $row->currentDescription->description !!}
  • @endforeach
@endif
{{__('web.more_about')}} {{$product->category->currentDescription->title}} {{__('web.recommend_products')}}
@foreach($products as $row)
@for($i=1;$i<=($row->rate);$i++) @endfor @for($i=1;$i<=(5 - $row->rate);$i++) @endfor
{{$row->rate_count}} {{__('web.rate')}}
{{$row->title}}
{{$row->price['cost']}} {{__('web.sar')}} @if($row->price['discount']) {{$row->price['cost_before_discount']}} {{$row->price['percentage']}}% @endif @if($row->price['offer_percentage']) {{$row->price['cost_before_discount_offer']}} {{$row->price['offer_percentage']}}% @endif
@endforeach
{{__('web.product_rates')}}
{{__('web.public_rate')}}

{{$product->rate}}

@for($i=1;$i<=($product->rate);$i++) @endfor @for($i=1;$i<=(5 - $product->rate);$i++) @endfor
{{__('web.based_on')}} {{$product->rate_count}} {{__('web.rates')}}
@foreach($ratings as $key=>$row)
{{$key}}
{{number_format((count($row) / $product->rate_count) * 100,2)}}%
@endforeach
@if($product->can_rate)
{{__('web.write_rate')}}
{{__('web.share_with_others')}}
{{__('web.write_rating')}} @endif
{{__('web.best_reviews')}}
@foreach($rates as $row)
{{$row->user->name}}
{{__('web.wrote_in')}} {{$row->date}}
@for($i=1;$i<=($row->rate);$i++) @endfor @for($i=1;$i<=(5 - $row->rate);$i++) @endfor
{{-- {{__('web.rates.'.$row->rate)}} --}}
{!! $row->comment !!}
@endforeach
{{-- --}}
@include('web.layouts.footer_banner')
@include('web.pages.components.rate_model') @endsection @section('inject_js') @endsection