@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 {{-- 아래 합계 계산도 위 표시가와 같은 값을 써야 한다. 등급가가 있으면 그것이 기준가다 --}} @php $shp_buy_price = !empty($item->grade_price) ? (int)$item->grade_price : (int)($disp_effective_price ?? $effective_price); @endphp

@if (!empty($item->grade_price)) {{ shop_item_price($item, 'effective') }}{{ shop_item_price($item, 'grade') }} {{ $lang->shop_grade }} @elseif (shop_item_on_sale($item)) {{ shop_item_price($item, 'price') }}{{ shop_item_price($item, 'sale') }} @else {{ shop_item_price($item, '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
@if (!empty($shop_axes) && count($shp_basic_opts))
@foreach ($shop_axes as $shp_axi => $shp_ax)
@if ($shp_ax->style === 'select') @else
@foreach ($shp_ax->items as $shp_avi => $shp_av) @endforeach
@endif
@endforeach
@endif @if (count($shp_basic_opts))
@endif @if (count($shp_extra_opts))
@endif
@if ($item->min_qty > 0 || $item->max_qty > 0)

@if ($item->min_qty > 0){{ sprintf($lang->shop_min_qty, $item->min_qty) }}@endif @if ($item->max_qty > 0){{ sprintf($lang->shop_max_qty, $item->max_qty) }}@endif

@endif
{{ $lang->shop_total_amount }}
@endif