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

@for ($skeleton = 1; $skeleton <= 2; $skeleton++)
@endfor

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

@if (count($top_rated) == 0)

{{ $keywords['NO PRODUCTS FOUND'] ?? __('NO PRODUCTS FOUND') }}

@else
@for ($k = 0; $k < count($top_rated); $k++) @if ($top_rated[$k]->itemContents != '[]') @if (isset($top_rated[$k]))
Product Product
@php $flash_info = flashAmountStatus($top_rated[$k]->id, $top_rated[$k]->current_price); $product_current_price = $flash_info['amount']; $flash_status = $flash_info['status']; @endphp
@php $customer_id = Auth::guard('customer')->check() ? Auth::guard('customer')->user()->id : null; $checkWishList = $customer_id ? checkWishList($top_rated[$k]->id, $customer_id) : false; @endphp @if ($shop_settings->catalog_mode != 1) @endif
@if ($shop_settings->item_rating_system == 1)
({{ reviewCount($top_rated[$k]->id) }})
@endif
{{ $top_rated[$k]->itemContents[0]->title }}
@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]->current_price)) }} @else {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k]->current_price)) }} {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($top_rated[$k]->previous_price)) }} @endif
@php $item_label = DB::table('labels') ->where('id', $top_rated[$k]->itemContents[0]->label_id) ->first(); $label = $item_label->name ?? null; $color = $item_label->color ?? null; @endphp @if ($item_label) {{ $label }} @endif @if ($flash_status == true) {{ $top_rated[$k]->flash_amount }}% @endif
@endif @endif @endfor
@endif