@php $offerFlag = $item->offerCheck(); $outOfStock = $item->isOutOfStock(); $outStock = false; $newArrival = isset($type) && $type == 'newArrivals'; @endphp @if ($outOfStock['isApprove'])
{{ __('Stock Out') }}
@endif @if ($newArrival && $outStock == false){{ __('New Arrival') }}
@endif @if (isset($item->featured) && $outStock == false && $newArrival == false){{ __('Featured') }}
@endif @if ($item->review_average == 5 && $outStock == false && $newArrival == false){{ __('Top Rated') }}
{{ formatCurrencyAmount($item->getDiscountAmount()) }}% {{ __('off') }}
@endif{{ __('View') }}
@endif{{ $item->name }}
@if (isset($isEnableProduct['review']) && $isEnableProduct['review'] == 1) @endif @if (isset($isEnableProduct['price']) && $isEnableProduct['price'] == 1) @if ($item->isVariableProduct()) @php $minMaxPrice = $item->variantMaxMinPrice(); @endphp{{ formatNumber($minMaxPrice['min']) }} - {{ formatNumber($minMaxPrice['max']) }}
@elseif ($item->isGroupedProduct()) @php $groupProductPrice = $item->groupProducts() @endphp{{ formatNumber($groupProductPrice['min']) }} - {{ formatNumber($groupProductPrice['max']) }}
@else @if ($offerFlag){{ $item->priceWithTax($displayPrice, 'sale') }}
@endif{{ $item->priceWithTax($displayPrice, 'regular') }}
@endif @endif