@php // Three possible states the Setup tab caters for: // meta = Meta Commerce catalog connected → full sync UI // baileys = no Meta but a Baileys device is paired → ready // none = no device at all → prompt to /devices $state = $catalog ? 'meta' : ($hasBaileysDevice ? 'baileys' : 'none'); @endphp @if ($state === 'none') {{-- ───────────────────── NONE ─────────────────────── --}}
{{ __('Catalog sending needs at least one WhatsApp device on this account — either an Unofficial API QR pair (free) or a Meta-verified WABA number. It only takes 30 seconds.') }}
You have {{ $devices->count() }} {{ \Illuminate\Support\Str::plural($isOfficial ? 'number' : 'device', $devices->count()) }} connected. @if ($isOfficial) Catalog sends go out through your connected {{ strtoupper((string) $engine) }} number. For interactive product messages, link a Meta Commerce Catalog below. @else Catalog sends work right now via native WhatsApp carousels through the Unofficial API — no Meta setup, no waiting for approval. @endif Head to the Send tab to push products to any customer's number.
| {{ __('Product') }} | {{ __('SKU') }} | {{ __('Price') }} | {{ __('Availability') }} | {{ __('Meta status') }} | |
|---|---|---|---|---|---|
|
@php $boxSvg = ''; @endphp
@if ($p->image_url)
{{ $p->name }}
@if ($p->category)
{{ $p->category }}
@endif
|
{{ $p->sku ?: '—' }} | {{ $p->price_display }} | {{ $p->effective_availability }} |
{{ $status }}
@if ($p->meta_last_error)
{{ \Illuminate\Support\Str::limit($p->meta_last_error, 60) }}
@endif
|
|
| {{ __('No products yet.') }} {{ __('Add one →') }} | |||||