@extends('frontend.layouts.applayout') @section('main-content') @push('styles') @endpush

View Products Added To Your Cart

@if (!is_null($cart)) @if (count($cart?->items) != 0 || count($cart?->wedCakeitems) != 0 || count($cart?->kidscakeitems) != 0 || count($cart?->wedCustomCakes) != 0 || count($cart?->customCartitems) != 0) @foreach ($cart?->items as $item) @php $price = $item?->product->price; $today = date('Y-m-d'); if ($item->product?->special_price_from) { if ( $item->product?->special_price_from <= $today && $item->product?->special_price_to >= $today ) { $price = $item?->product->special_price; } } @endphp @endforeach @foreach ($cart?->wedCakeitems as $item) @endforeach @foreach ($cart?->wedCustomCakes as $item) @endforeach @foreach ($cart?->kidscakeitems as $item) @endforeach @foreach ($cart?->customCartitems as $item) @endforeach @else @endif @else @endif
Product Price Quantity Actions Subtotal
${{ number_format($price, 2) }}
{{-- --}} - ${{ number_format($price * $item->quantity ?? 0, 2) }}

Custom Wedding Cake ({{ $item->cake_design_name }})

${{ $item->total_amount }}
| ${{ number_format($item->total_amount, 2) }}

Custom Wedding Cake ({{ $item->cake_design_name }})

${{ $item->total_amount }}
{{-- | --}} ${{ number_format($item->total_amount, 2) }}

Custom Kids Cake ({{ $item->cake_design_name }})

${{ $item->total_amount }}
| ${{ number_format($item->total_amount, 2) }}

Custom Designed Cake ({{ $item->cake_customcake_name }})

${{ $item->total_amount }}
| ${{ number_format($item->total_amount, 2) }}

Your cart is empty

Your cart is empty

@if (!is_null($cart) && count($cart?->items) != 0)

@if ($cart?->coupon_code)

Applied Coupon:- {{ $cart->coupon_code }}

@endif {{-- --}}
@endif
@if (!is_null($cart))

Cart Summary

@if (!is_null($cart)) @endif
Sub Total ${{ number_format($cart->total_amount ?? 0, 2) }}
Taxable Product SubTotal ${{ number_format($cart->tax_total ?? 0, 2) }}
Coupon Discount ${{ number_format($cart->discount_amount ?? 0, 2) }}
Tax 13 % ${{ number_format($cart->tax ?? 0, 2) }}
Grand Total ${{ number_format($cart?->grand_total ?? 0, 2) }}
@if ($cart->total_amount < 1)

Minimum: $50

@endif
@endif
@push('scripts') @endpush @endsection