@if (!empty($item))
{{ $item->name2 }} {{-- @if ($item->images->isNotEmpty()) {{ $item->name2 }} @endif --}} @if($item->old_price > 0 && $item->price > 0)
-{{ round(($item->old_price - $item->price) / $item->old_price * 100) }}%
@endif @if ($item->is_midnight_sale)
@endif @if(!empty($item->supplier))
{{ $item->supplier->name2 }}
@endif
({{ $item->comments_count ?? 0 }})

{{ $item->name2 }}

@if($item->options->isNotEmpty() && $item->options->first()->price > 0)
{{ number_format($item->options->first()->price, 0, '.', '.') }}đ
@if($item->options->first()->old_price > 0)
{{ number_format($item->options->first()->old_price, 0, '.', '.') }}đ
@endif @elseif($item->price > 0)
{{ number_format($item->price, 0, '.', '.') }}đ
@if($item->old_price > 0)
{{ number_format($item->old_price, 0, '.', '.') }}đ
@endif @else
Liên hệ
@endif
@if($item->price > 0) options->isNotEmpty()) data-option="{{ $item->options->first()->id ?? '' }}" @endif> @else @endif
Đã bán {{ $item->sold ?? 0 }}
{{--
@if($item->price > 0) @else Xem chi tiết @endif
--}}
@endif