Order Confirmed! 🎉
Dear {{ $order->customer_first_name }},
Thank you for your order! We're excited to let you know that your order has been
successfully placed and is now being processed.
Order Details
Order ID: #{{ $order->id }}
Order Date: {{ $order->created_at->format('F j, Y') }}
Payment Method: {{ ucfirst($order->payment_method) }}
Payment Status: {{ ucfirst($order->payment_status) }}
Order Status: {{ ucfirst(str_replace('_', ' ',
$order->order_status)) }}
Items Ordered
| Product |
Quantity |
Price |
Total |
@foreach($orderProducts as $item)
{{ $item->product_name }}
@if($item->variant)
Variant: {{ $item->variant }}
@endif
|
{{ $item->quantity }} |
{{ config('settings.currency_symbol', '$') }}{{
number_format($item->unit_price, 2) }} |
{{ config('settings.currency_symbol', '$') }}{{
number_format($item->unit_price * $item->quantity, 2) }} |
@endforeach
| Subtotal: |
{{ config('settings.currency_symbol', '$') }}{{
number_format($order->total - $order->shipping_charge -
$order->discount, 2) }} |
| Shipping: |
{{ config('settings.currency_symbol', '$') }}{{
number_format($order->shipping_charge, 2) }} |
@if($order->discount > 0)
| Discount: |
-{{ config('settings.currency_symbol', '$') }}{{
number_format($order->discount, 2) }} |
@endif
| Total: |
{{ config('settings.currency_symbol', '$') }}{{
number_format($order->total, 2) }} |
Shipping Address
@if($order->shipping_info && is_array($order->shipping_info))
{{ $order->shipping_info['first_name'] ?? '' }} {{
$order->shipping_info['last_name'] ?? '' }}
{{ $order->shipping_info['address'] ?? '' }}
{{ $order->shipping_info['city'] ?? '' }}, {{ $order->shipping_info['state'] ?? ''
}}
{{ $order->shipping_info['zip'] ?? '' }}
{{ $order->shipping_info['country'] ?? '' }}
Phone: {{ $order->shipping_info['phone'] ?? '' }}
@else
No shipping address provided
@endif
You can track your order status from your account dashboard. We'll notify you with
updates as your order progresses.
Thank you for shopping with us!
Best regards, {{ config('settings.site_name', 'Our Store') }}
|