@extends('shop/layout') @section('shop')

Our {{$category->title}}

@foreach($subCategories as $category)

{{$category->title}}

{{--

$0 / mo

--}}
@endforeach
@foreach(($seller ? $category->visibleSellerProducts($seller) : $category->visibleProducts) as $product)

{{$product->title}}

{{--

$0 / mo

--}} {{$category->slug}} {{$product->slug}}
{{$product->price}}€
@endforeach @auth @if(auth()->user()->isAdmin)

Admin

@foreach($category->products as $product)

{{$product->title}}

{{--

$0 / mo

--}}
@csrf hidden ?'checked':''}}>
@endforeach @endif @endauth
@stop