@php $schema = $seo['schema']; @endphp
@csrf @method('PUT')

Automatic structured data

JSON-LD built from your store details and catalogue, which helps Google show rich results (prices, availability, breadcrumbs, FAQs). Store name, contact and address come from Settings → General.

@foreach ([ 'website_search' => 'Sitelinks search box', 'product' => 'Product (price, stock, images, GTIN)', 'breadcrumbs' => 'Breadcrumbs', 'article' => 'Blog articles', 'faq' => 'FAQ pages', ] as $key => $label) @endforeach

Organization

Manual JSON-LD

Optional extra schema added to every storefront page, for example a LocalBusiness with opening hours or an Event. Must be valid JSON. Individual blog posts can also set their own schema in the post editor.

@if (! empty($seo['schemaPreview']))
Sitewide schema preview
{{ json_encode($seo['schemaPreview'], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) }}
Test the homepage in Google's Rich Results Test →
@endif