@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. Open') }} /devices to pair one in 30 seconds.
Go to devicesYou have {{ $devices->count() }} {{ \Illuminate\Support\Str::plural('device', $devices->count()) }} connected. Catalog sends work right now via native WhatsApp carousels through the Unofficial API — no Meta setup, no waiting for approval. 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 →') }} | |||||