@php $c = $qrCode->content(); $sections = $c['sections'] ?? []; $title = $c['title'] ?? $qrCode->label ?? 'Storefront'; $cur = $c['currency'] ?? 'GHS'; $brand = $c['brand_color'] ?? '#4f46e5'; $acceptsPayment = ! empty($c['accepts_payment']); $shippingType = $c['shipping_type'] ?? 'none'; $shippingFee = (float) ($c['shipping_fee'] ?? 0); $freeAbove = (float) ($c['free_shipping_above'] ?? 0); $isShop = $qrCode->type === \App\Models\QrCode::TYPE_SHOP; $hasLogo = ! empty($c['logo_path']); $hasCover = ! empty($c['cover_path']); $logoUrl = $hasLogo ? $qrCode->publicPath('menu-logo') : null; $coverUrl = $hasCover ? $qrCode->publicPath('menu-cover') : null; $orderUrl = $qrCode->publicPath('order'); @endphp
{{ $isShop ? 'Shop' : 'Menu' }}
{{ $item['name'] ?? '' }}
@if(!empty($item['description'])){{ $item['description'] }}
@endif{{ $cur }} {{ number_format($price, 2) }}
This storefront has no items yet.
@endforelseSecure payment · You'll get an order confirmation.