@extends('customer.app') @section('content') @php $discount = checkDiscount($product); @endphp

{{$product->name}}

@for($i = 0;$irate_avg);$i++)
@endfor @for($i;$i<5;$i++)
@endfor
@if(isset($product->filters) && count($product->filters)>0)
    @foreach($product->filters as $pf)
  • {{$pf->filter_name}}: {{$pf->filter->value_name}}
  • @endforeach
@endif
  • {{__('general.status')}}: {{$product->stock > 0 ? __('general.in-stock') : __('general.out-stock')}}
  • @if(isset($product->brands->brand_name))
  • {{__('general.brand')}}: {{$product->brands->brand_name}}
  • @endif
  • {{__('general.stock_code')}}: {{$product->stock_code}}
{{__('general.status')}}: {{$product->stock > 0 ? __('general.in-stock') : __('general.out-stock')}}
@if($discount)
%{!! $discount !!}
@endif @if($discount)
{{pricemio($product,$discount)['discountedPrice']}} {{pricemio($product)['price']}}
@else {{pricemio($product)['price']}} @endif
{!! $options !!}
@if($product->stock > 0) @else @endif