@version(2)
@if ($item->is_recommend === 'Y'){{ $lang->shop_badge_recommend }}@endif
@foreach ($item->badge_list ?? [] as $shp_bg)
@php
$shp_bg_style = '';
if (!empty($shp_bg->bg_color)) { $shp_bg_style .= 'background:' . $shp_bg->bg_color . ';'; }
if (!empty($shp_bg->color)) { $shp_bg_style .= 'color:' . $shp_bg->color . ';'; }
@endphp
{{ $shp_bg->title }}
@endforeach
@if ($item->is_new === 'Y')NEW@endif
@if ($item->is_adult === 'Y'){{ $lang->shop_adult_item }}@endif
@if ($item->tax_type === 'free'){{ $lang->shop_tax_free }}@endif
{{ $item->item_name }}
@if (!empty($item->summary))
{{ $item->summary }}
@endif
@if (!empty($item->grade_price))
{{ shop_money($effective_price) }}{{ shop_money($item->grade_price) }}
{{ $lang->shop_grade ?? '회원 등급' }}
@elseif ($item->sale_price > 0 && $item->sale_price < $item->price)
{{ shop_money($item->price) }}{{ shop_money($effective_price) }}
@else
{{ shop_money($effective_price) }}
@endif
@php
$shp_ship_type = $item->ship_fee_type ?? 'default';
$shp_ship_fee = $shp_ship_type === 'fixed' ? (int)$item->ship_fee : (int)($shop_config->default_ship_fee ?? 0);
$shp_free_over = (int)($shop_config->free_ship_over ?? 0);
@endphp
@if (!empty($credit_rate) && $credit_rate > 0)
{{ $lang->shop_credit_benefit ?? '적립 혜택' }}
{{ sprintf($lang->shop_credit_rate_note, rtrim(rtrim(number_format($credit_rate, 2), '0'), '.')) }}
@endif
{{ $lang->shop_ship_fee ?? '배송비' }}
@if ($shp_ship_type === 'free' || $shp_ship_fee <= 0)
{{ $lang->shop_ship_free ?? '무료배송' }}
@else
{{ shop_money($shp_ship_fee) }}
@if ($shp_free_over > 0) {{ sprintf($lang->shop_free_over_note, shop_money($shp_free_over)) }}@endif
@endif
@if (!$purchasable)
{{ $lang->shop_not_purchasable }}
@elseif (!$adult_ok)
{{ $lang->shop_adult_gate }}
@else
@endif