{{-- views/themes/default/cart.blade.php --}} @extends('themes.default.layout') @section('title', 'Shopping Cart - ' . $website->name) @section('content')

Shopping Cart

@if(session('success')) @endif @if($cartItems->count() > 0)
@foreach($cartItems as $item) @endforeach
Product Price Quantity Total Action
@if($item->product && $item->product->images && count($item->product->images) > 0) {{ $item->display_name }} @else
@endif
{{ $item->display_name }}
@if($item->product && $item->product->sku) SKU: {{ $item->product->sku }} @endif @if($item->productVariation)
{{ $item->productVariation->variation_display }}
@endif
RM {{ number_format($item->price, 2) }}
RM {{ number_format($item->total_price, 2) }}
Order Summary
Subtotal: RM {{ number_format($cartTotal, 2) }}
Shipping: Free
Tax: RM 0.00

Total: RM {{ number_format($cartTotal, 2) }}

Secure

Fast Delivery

Easy Returns

@else

Your cart is empty

Looks like you haven't added any items to your cart yet.

Start Shopping
@endif
@endsection