@extends('layouts.site') @section('title','Your Cart | Medella Stores') @section('content')
MEDELLA STORES

Your cart.

Review your selected supplies before proceeding to checkout.

@if(session('status'))

{{ session('status') }}

@endif @foreach($errors->all() as $error)

{{ $error }}

@endforeach @if(count($lines))
@csrf @foreach($lines as $line)
{{ $line['product']->name }}

₦{{ number_format((float)$line['product']->price,2) }} each

₦{{ number_format($line['line_total'],2) }}
@endforeach

Subtotal: ₦{{ number_format($subtotal,2) }}

Proceed to checkout ↗ @else

Your cart is currently empty.

Browse Medella Stores @endif
@endsection