@version(2) @load('css/shop.css') @php if (!function_exists('shp_brand_split')) { // 상품명 표기 규약: "브랜드 / 상품명" 으로 적으면 브랜드를 윗줄에 따로 세운다. function shp_brand_split($shp_nm) { $shp_p = explode(' / ', (string)$shp_nm, 2); if (count($shp_p) === 2) { return ['brand' => trim($shp_p[0]), 'name' => trim($shp_p[1])]; } return ['brand' => '', 'name' => trim((string)$shp_nm)]; } } @endphp
{{ $promo->description }}
@endif @if ($promo_state === 'upcoming'){{ $promo->start_date ? sprintf($lang->shop_promo_before_date, zdate($promo->start_date, 'Y.m.d')) : $lang->shop_promo_before }}
@elseif ($promo_state === 'ended'){{ $lang->shop_promo_ended }}
@endif @if ($promo_state !== 'upcoming') @if (empty($items)){{ $lang->shop_no_items }}
@else @endif @endif