@extends('layouts.app') @section('content')
@if(Session::has('success'))
Success! {{ Session::get('success')[0] }}
@endif

cart test here

I AM A PRODUCT

{{ $product->name }}
product image / price here £{{ $product->getBuyablePrice() }}
{{ csrf_field() }}

Cart Contents

@foreach(\Gloudemans\Shoppingcart\Facades\Cart::content() as $cartItem)
You have {{ $cartItem->qty }} items of {{ $cartItem->model->name }} with description: {{ $cartItem->model->description }} in your cart.
{{ csrf_field() }}
@endforeach
total: {{ \Gloudemans\Shoppingcart\Facades\Cart::total() }}
@endsection