--}}
{{--
--}}
{{-- @php($overallRating = getOverallRating($bestSellItem['reviews']))--}}
{{-- @if($overallRating[0] != 0 )--}}
{{--
--}}
{{-- --}}
{{-- @for($inc=1;$inc<=5;$inc++)--}}
{{-- @if ($inc <= (int)$overallRating[0])--}}
{{-- --}}
{{-- @elseif ($overallRating[0] != 0 && $inc <= (int)$overallRating[0] + 1.1 && $overallRating[0] > ((int)$overallRating[0]))--}}
{{-- --}}
{{-- @else--}}
{{-- --}}
{{-- @endif--}}
{{-- @endfor--}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- @endif--}}
{{--
--}}
{{-- --}}
{{-- @if($bestSellItem->discount > 0)--}}
{{-- --}}
{{-- {{ webCurrencyConverter(amount: $bestSellItem->unit_price) }}--}}
{{-- --}}
{{-- @endif--}}
{{-- --}}
{{-- --}}
{{-- {{ webCurrencyConverter(amount:--}}
{{-- $bestSellItem->unit_price-(getProductDiscount(product: $bestSellItem, price: $bestSellItem->unit_price))--}}
{{-- ) }}--}}
{{-- --}}
{{--
--}}
{{--