@extends('template.main-template') @section('content')
@if (Cart::content()->count() > 0) @foreach ($cartItems as $item) {{-- {{dd($item)}} --}} @endforeach
Product Price Quantity Subtotal
@if (count($item->productData->images) > 0) @else No Image @endif
{{ $item->name }}
    @foreach ($item->options as $key => $option)
  • {{ $key }}: {{ $option }}
  • @endforeach
{{ formatMoney($item->price, true) }}
+
-
{{ formatMoney($item->price * $item->qty, true) }}
@else
Your shopping cart is empty. Click here to go shopping!
@endif
@if (Cart::content()->count() > 0)
  • Subtotal: ${{ Cart::subtotal(2, '.', ',') }}
  • {{-- --}} {{-- --}}
  • Shipping: $0.00
  • Total $
Proceed to Checkout
@endif @csrf @endsection @push('javascript') @endpush @push('css') @endpush