@if (count($items) > 0) @foreach ($items as $item)
Product
{{ $item->category_name }}

{{ $item->title }}

@if ($shop_settings->item_rating_system == 1)
({{ reviewCount($item->item_id) }})
@endif @php $flash_info = flashAmountStatus($item->item_id, $item->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($item->current_price)) }} @else {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($item->current_price)) }} @if ($item->previous_price > 0) {{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($item->previous_price)) }} @endif @endif
@if ($shop_settings->catalog_mode != 1) @endif @php $customer_id = Auth::guard('customer')->check() ? Auth::guard('customer')->user()->id : null; $itemId = $item->item_id ?? $item->id; $checkWishList = ($customer_id && $itemId) ? checkWishList($itemId, $customer_id) : false; @endphp
@php $item_label = DB::table('labels')->where('id', $item->label_id)->first(); $label = $item_label->name ?? null; $color = $item_label->color ?? null; @endphp {{ $label }} @if ($flash_status == true) {{ $item->flash_amount }}% @endif
@endforeach
@else

{{ $keywords['No Product Found'] ?? __('No Product Found') }}

@endif