@extends('digitalmenu::layouts.public') @section('title', ($shop->name ?? 'Shop') . ' - Browse Menu') @section('header-right') @endsection @section('sub-header')
storefront

Browse Menu • Order at Counter

@if($categories->count() > 0) @endif @endsection @section('content')
@forelse($categories as $category) @php $products = $productsByCategory->get($category->id, collect()); @endphp

{{ $category->name }}

@if($products->count() > 0) {{ $products->count() }} {{ $products->count() === 1 ? 'item' : 'items' }} @endif
@if($products->count() > 0) @else

No items in this category.

@endif
@empty
restaurant_menu

No menu items available at the moment.

@endforelse
@endsection @section('scripts') @endsection