$installed,
'border-danger-300 dark:border-danger-700 opacity-70' => !$installed,
])>
{{-- Header row --}}
@if ($email)
- Email
- {{ $email }}
@endif
@if ($plan)
- Plan
- {{ $plan }}
@endif
@if ($country)
- Country
- {{ $country }}
@endif
@if ($currency)
- Currency
- {{ $currency }}
@endif
- Installed
- installed_at) title="{{ $shop->installed_at->format('Y-m-d H:i') }}" @endif>
{{ $shop->installed_at?->diffForHumans() ?? '—' }}
- Last sync
- $shop->last_sync_at === null,
])
@if($shop->last_sync_at) title="{{ $shop->last_sync_at->format('Y-m-d H:i') }}" @endif>
{{ $shop->last_sync_at?->diffForHumans() ?? 'Never' }}
{{-- Scopes (collapsed) --}}
@if ($shop->scope)
View granted scopes
@foreach (explode(',', $shop->scope) as $sc)
{{ trim($sc) }}
@endforeach
@endif
@if ($missingScopes !== [])
Missing required Shopify access
Grant and reconnect this store before launch: {{ implode(', ', $missingScopes) }}.
@if (in_array('read_all_orders', $missingScopes, true))
The protected read_all_orders permission must first be approved in the Shopify Partner Dashboard.
@endif
@endif
{{-- Actions --}}
@if ($installed)