@extends('frontend.layouts.master') @section('content') @php $cart = null; if(session()->has('cart_identifier')){ $cart = \App\Models\Cart::where('cart_identifier', session()->get('cart_identifier'))->first(); } $cartItems = $cart ? $cart->cartItems()->with('product')->get() : []; @endphp
{{--

Snacks & Munchies

--}}

{{ $products->total() }} Products found

@if ($products->count() > 0)
@foreach ($products as $product) @include('frontend.partials.prodcut',$product) @endforeach
@else
No Products Found
@endif
@include('frontend.partials.product-script') @endsection @section('scripts') @endsection