Order Confirmation (Paid)

Dear {{ $order_details->first_name . ' ' . $order_details->last_name }},

Thank you for your order! We are excited to confirm that your order has been successfully placed. Here's a summary of your order:

Order Summary:

@php $total_price = 0; @endphp @if(count($order_details->name) > 0) @foreach ($order_details->name as $key => $value) @php $total_price += $order_details->quantity[$key] * $order_details->price[$key]; @endphp @endforeach @else @endif
Product (Quantity x Price) Total Price
{{$value}} ({{$order_details->quantity[$key]}} x {{$order_details->price[$key]}})${{ number_format($order_details->quantity[$key] * $order_details->price[$key], 2) }}
No items in the order
Total Price: ${{ number_format($total_price, 2) }}