{{ $qrCode->label }} @php $content = $qrCode->content(); $publicUrl = \App\Support\LadillLink::url($qrCode->short_code); $typeLabel = \App\Support\Qr\QrTypeCatalog::label($qrCode->type); @endphp
All storefronts

{{ $qrCode->label }}

{{ $typeLabel }} @if($qrCode->is_active) ● Live @else ● Inactive @endif

View live
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{-- QR + sharing --}}
@if($previewDataUri) QR code @endif

{{ $publicUrl }}

@foreach(['png' => 'PNG', 'svg' => 'SVG', 'pdf' => 'PDF'] as $fmt => $flabel) {{ $flabel }} @endforeach
@once @endonce @if(!empty($customDomainsEnabled))

Custom domain

Serve this storefront on your own domain with automatic SSL. Optional — your {{ $publicUrl }} link always works.

@forelse($customDomains as $cd)
{{ $cd->host }} @php $live = $cd->status === 'active' && $cd->ssl_status === 'active'; @endphp {{ $live ? 'Live (SSL)' : ($cd->status === 'failed' ? 'Failed' : 'Pending') }}
@unless($live)

Point an A record for {{ $cd->host }}@if($cd->include_www) and www.{{ $cd->host }}@endif to {{ $customDomainServerIp }}, then verify.

@if($cd->last_error)

{{ $cd->last_error }}

@endif @endunless
@unless($live)
@csrf
@endunless
@csrf @method('DELETE')
@empty
@csrf
@error('host')

{{ $message }}

@enderror @endforelse
@endif
@csrf @method('DELETE')
{{-- Edit form --}}
@csrf @method('PATCH')
@include('merchant.storefronts.partials.editor-fields', ['content' => $content, 'catalog' => $catalog ?? []])