@if ($shop_settings->item_rating_system == 1)
({{ reviewCount($latest_items[$k]->id) }})
@endif
@php
$flash_info = flashAmountStatus(
$latest_items[$k]->id,
$latest_items[$k]->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($latest_items[$k]->current_price)) }}
@else
{{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($latest_items[$k]->current_price)) }}
{{ symbolPrice($userCurrentCurr->symbol_position, $userCurrentCurr->symbol, currency_converter($latest_items[$k]->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($latest_items[$k]->id, $customer_id)
: false;
@endphp