@version(2) @load('css/shop.css')

{{ $lang->shop_checkout }}

@php $shp_pending = Context::get('pending_order'); @endphp @if ($shp_pending)

{{ $shp_pending->order_code }} {{ !empty($shp_pending->pending_deadline) ? sprintf($lang->shop_pending_notice, zdate($shp_pending->pending_deadline, 'Y.m.d A g:i')) : $lang->shop_pending_notice_nodate }}

@if (!empty($shp_pending->resume_pay_url)) {{ $lang->shop_resume_pay }} @endif
@endif @if ($payment_price > 0 && !$pay_available)

{{ $lang->shop_pay_unavailable }}

@else

{{ $lang->shop_shipping }}

@if ($is_member && count($my_addresses ?? []))
@endif
@if ($shop_need_country)
@else {{-- 고를 나라가 하나뿐이라 감췄다. 세금·배송비 계산은 이 값을 쓴다 --}} @endif
@if ($shop_need_phone_cc) @endif
{{-- 행정구역 목록이 있는 나라는 검색해서 고른다. 손으로 적으면 배송비 규칙과 어긋난다 --}}
@if ($is_member) @endif

{{ $lang->shop_orderer }}

@if ($is_member) @endif
@if (!$is_member)
{{ $lang->shop_guest_password_help }}
@endif

{{ $lang->shop_item }}

@foreach ($cart->items as $entry) @if (!$entry->blocked) @php $shp_row_thumb = !empty($entry->item->thumb) ? "background-image:url('" . $entry->item->thumb . "');" : ''; @endphp
{{ $entry->item->item_name }} @if ($entry->option)
{{ $entry->option->option_label }}
@endif
{{ $lang->shop_qty }} {{ sprintf($lang->shop_qty_count, $entry->qty) }}
{{ shop_money_in($entry->subtotal, $shp_currency) }}
@endif @endforeach
@if ($is_member && $shp_currency === ($shp_base_currency ?? 'KRW') && ($shop_use_coupon || $shop_use_credit)) {{-- 쿠폰·적립금 — KRW 원장 전용이라 외화 주문서에서는 숨긴다 --}}

@if ($shop_use_coupon){{ $lang->shop_coupon }}@endif@if ($shop_use_coupon && $shop_use_credit) · @endif@if ($shop_use_credit){{ $lang->shop_credit }}@endif

@if ($shop_use_coupon && !empty($my_coupons))
@endif @if ($shop_use_coupon)
@endif @if ($shop_use_credit && $credit_balance > 0) @php $shp_credit_min = max(0, (int)($shop_config->credit_min_use ?? 0)); @endphp
{{-- 사람이 읽는 단위로 받는다. 최소 단위 값을 그대로 두면 8 을 넣었을 때 0.08 이 된다 --}} @if ($shp_credit_min > 0){{ sprintf($lang->shop_credit_use_min, shop_money_base($shp_credit_min)) }} @endif{{ $lang->shop_credit_use_note }}
@endif
@if ($shop_use_coupon){{ $lang->shop_coupon_help }}@endif
@endif
@endif