{{ $userSec->top_rated_product_section_title ?? ($keywords['Top Rated'] ?? __('Top Rated')) }}

@for ($skeleton = 0; $skeleton <= 3; $skeleton++)

@endfor
@if ($ubs->right_banner_section == 1) @if ($banners) @for ($i = 0; $i <= 1; $i++) @if (isset($banners[$i])) @if ($banners[$i]->position == 'right')
@endif @endif @endfor @endif @endif

{{ $userSec->top_rated_product_section_title ?? ($keywords['Top Rated'] ?? __('Top Rated')) }}

@if (count($top_rated) == 0)
{{ $keywords['NO PRODUCTS FOUND'] ?? __('NO PRODUCTS FOUND') }}
@else
@for ($k = 0; $k < count($top_rated); $k += 4) @if ($k < count($top_rated) - 1) @if (count($top_rated[$k]->itemContents) > 0)
@if (!is_null(@$top_rated[$k + 1]))
{{ @$top_rated[$k + 1]->itemContents[0]->category->name }} @if (count($top_rated[$k + 1]->itemContents) > 0)

{{ $top_rated[$k + 1]->itemContents[0]->title }}

@endif @if ($shop_settings->item_rating_system == 1)
({{ reviewCount($top_rated[$k + 1]->id) }})
@endif @php $flash_info = flashAmountStatus( $top_rated[$k + 1]->id, $top_rated[$k + 1]->current_price, ); $product_current_price = $flash_info['amount']; $flash_status = $flash_info['status']; @endphp
@if ($flash_status == true) {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($product_current_price)) }} {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k + 1]->current_price)) }} @else {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k + 1]->current_price)) }} {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k + 1]->previous_price)) }} @endif
@if ($shop_settings->catalog_mode != 1) @endif @php $customer_id = Auth::guard('customer')->check() ? Auth::guard('customer')->user()->id : null; $checkWishList = $customer_id ? checkWishList($top_rated[$k + 1]->id, $customer_id) : false; @endphp
@endif @if (!is_null(@$top_rated[$k + 2]))
{{ @$top_rated[$k + 2]->itemContents[0]->category->name }} @if (count($top_rated[$k + 2]->itemContents) > 0)

{{ $top_rated[$k + 2]->itemContents[0]->title }}

@endif @if ($shop_settings->item_rating_system == 1)
({{ reviewCount($top_rated[$k + 2]->id) }})
@endif @php $flash_info = flashAmountStatus( $top_rated[$k + 2]->id, $top_rated[$k + 2]->current_price, ); $product_current_price = $flash_info['amount']; $flash_status = $flash_info['status']; @endphp
@if ($flash_status == true) {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($product_current_price)) }} {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k + 2]->current_price)) }} @else {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k + 2]->current_price)) }} {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k + 2]->previous_price)) }} @endif
@if ($shop_settings->catalog_mode != 1) @endif @php $customer_id = Auth::guard('customer')->check() ? Auth::guard('customer')->user()->id : null; $checkWishList = $customer_id ? checkWishList($top_rated[$k + 2]->id, $customer_id) : false; @endphp
@endif @if (!is_null(@$top_rated[$k + 3]))
{{ @$top_rated[$k + 3]->itemContents[0]->category->name }} @if (count($top_rated[$k + 3]->itemContents) > 0)

{{ $top_rated[$k + 3]->itemContents[0]->title }}

@endif @if ($shop_settings->item_rating_system == 1)
({{ reviewCount($top_rated[$k + 3]->id) }})
@endif @php $flash_info = flashAmountStatus( $top_rated[$k + 3]->id, $top_rated[$k + 3]->current_price, ); $product_current_price = $flash_info['amount']; $flash_status = $flash_info['status']; @endphp
@if ($flash_status == true) {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($product_current_price)) }} {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k + 3]->current_price)) }} @else {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k + 3]->current_price)) }} {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k + 3]->previous_price)) }} @endif
@if ($shop_settings->catalog_mode != 1) @endif @php $customer_id = Auth::guard('customer')->check() ? Auth::guard('customer')->user()->id : null; $checkWishList = $customer_id ? checkWishList($top_rated[$k + 3]->id, $customer_id) : false; @endphp
@endif
@endif @endif @endfor
@endif
@if ($ubs->right_banner_section == 1) @if ($banners) @for ($i = 0; $i <= 1; $i++) @if (isset($banners[$i])) @if ($banners[$i]->position == 'right')
@endif @endif @endfor @endif @endif