New Order Placed

Customer Details

Full Name: {{ $userData['full_name'] }}

Email: {{ isset($userData['email'])?$userData['email']:'' }}

Phone: {{ $userData['phone'] }}

Address: {{ $userData['address'] }}

Order Items

@php $subtotal = 0; @endphp @foreach($cartItems as $item) @php $itemTotal = $item['price'] * $item['quantity']; $subtotal += $itemTotal; @endphp @endforeach
Product Color Price Quantity Total
{{ $item['name'] }} {{ json_decode($item['color'], true)['name'] }} ${{ number_format($item['price'], 2) }} {{ $item['quantity'] }} ${{ number_format($itemTotal, 2) }}
@php $shippingCost = 3.00; // Fixed shipping cost $total = $subtotal + $shippingCost; @endphp

Order Summary

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

Shipping Cost: ${{ number_format($shippingCost, 2) }}

Total: ${{ number_format($total, 2) }}