@extends('layouts.admin') @section('title', 'Product pages — '.config('app.name')) @section('page_title', 'Product pages') @section('breadcrumbs') @endsection @section('content')
Public product pages
Create page

Pick a product, then add sections one at a time: Overview, benefits, FAQ, and links. Versions come from Sage compatibility.

@forelse ($products as $product) @php $count = (int) ($sectionCounts[$product->contentCode()] ?? $sectionCounts[strtolower((string) $product->code)] ?? 0); @endphp @empty @endforelse
Code Name Page
{{ strtoupper($product->code) }} {{ $product->name }} @if ($count > 0) {{ $count }} of {{ $sectionTotal }} sections @else No page yet @endif @if ($count > 0) Edit page @else Create page @endif
No products found.
@endsection