@php
$merchant = $seo['merchant'];
$report = $seo['feedReport'] ?? ['items' => [], 'skipped' => [], 'warnings' => []];
$warningLabels = [
'missing_image' => 'variants have no image and are left out',
'missing_gtin' => 'items have no GTIN / barcode (SKU is sent as MPN instead)',
'short_description' => 'products have a description under 50 characters',
];
@endphp
Product feed
In Merchant Center, go to Products → Add products → Add from a file → "Enter a link to your file", paste the feed URL and schedule a daily fetch.
{{ $merchant['enabled'] ? 'Feed live' : 'Feed off' }}
@include('admin.settings.partials.seo-url-row', ['label' => 'Feed URL', 'url' => $seo['feedUrl']])
Items in feed
{{ number_format(count($report['items'])) }}
Skipped variants
{{ number_format(count($report['skipped'])) }}
Merchant ID
{{ $merchant['merchant_id'] ?: '—' }}
@php $activeWarnings = array_filter($report['warnings']); @endphp
@if ($activeWarnings !== [])
@foreach ($activeWarnings as $key => $count)
- {{ $count }} {{ $warningLabels[$key] ?? $key }}
@endforeach
@endif
@if ($report['skipped'] !== [])
Show skipped variants
@foreach ($report['skipped'] as $row)
- {{ $row['title'] }}{{ $row['reason'] }}
@endforeach
@endif
@if ($merchant['feed_key'] !== '')
@endif