Breadcrumbs: always start at Home, full category trail, BreadcrumbList JSON-LD

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
elviraandClaude Opus 5.5 committed 2026-10-27 12:19:29 +02:00
1 parent 9d7f92ebfc
commit fb239a97cb
8 files changed
+114 -18

No files matched your search

+1 -6
View File
@@ -6,12 +6,7 @@
@section('content')
<div class="max-w-7xl mx-auto px-5 sm:px-8 py-12">
<x-breadcrumb class="mb-8 justify-end lg:mb-14" :items="[
$collection
? ['label' => $collection['name'], 'href' => route('category.show', ['id' => $collection['id']])]
: ['label' => __('storefront.nav.products'), 'href' => route('products')],
['label' => $product['name']],
]" />
<x-breadcrumb class="mb-8 justify-end lg:mb-14" :items="$breadcrumb" />
<div
class="grid grid-cols-1 md:grid-cols-2 gap-12"