@if($product->discount > 0)
@if ($product->discount_type == 'percent')
{{'-'.' '.round($product->discount, $web_config['decimal_point_settings']).'%'}}
@elseif($product->discount_type =='flat')
{{'-'.' '.Helpers::currency_converter($product->discount)}}
@endif
@endif
@php($wishlist = count($product->wishList) > 0 ? 1 : 0)
@php($compare_list = count($product->compareList)>0 ? 1 : 0)
@for ($index = 1; $index <= 5; $index++)
@if ($index <= (int)$overallRating[0])
@elseif ($overallRating[0] != 0 && $index <= (int)$overallRating[0] + 1.1 && $overallRating[0] > ((int)$overallRating[0]))
@else
@endif
@endfor
( {{$product->reviews->count()}} )
@if($product->added_by=='seller')
{{ isset($product->seller->shop->name) ? Str::limit($product->seller->shop->name, 20) : '' }}
@elseif($product->added_by=='admin')
{{$web_config['name']->value}}
@endif
{{ Str::limit($product['name'], 18) }}
@if($product->discount > 0)
{{Helpers::currency_converter($product->unit_price)}}
@endif
{{Helpers::currency_converter($product->unit_price-Helpers::get_product_discount($product,$product->unit_price))}}