{!! ucfirst($section['section_title'] ?? "") !!}

{{ ucfirst($section['section_label'] ?? "") }}

{{__('view_all')}}
@if(!empty($section['section_content']) && count($section['section_content']) > 0) @foreach($section['section_content'] as $product_key => $product_value)
@php $rating = $product_value->average_rating; @endphp @for ($i = 1; $i <= 5; $i++) @if ($rating >= $i) {{-- Full star --}} @elseif ($rating >= ($i - 0.5)) {{-- Half star --}} @else {{-- Empty star --}} @endif @endfor

{{ $product_value->average_rating }} ({{$product_value->review_count}} {{__('reviews')}})

{{ $product_value->source_name }}
{{ $currencySymbol }}{{$product_value->source_price}}
@endforeach @else
{{__('no_best_selling_products_available')}}
@endif
shape shape shape