🛒 New Order Received!
Hello Admin,
A new order has been placed on your store. Here are the details:
Order Information
Order ID: #{{ $order->id }}
Order Date: {{ $order->created_at->format('F j, Y, g:i A') }}
Customer: {{ $order->customer_first_name }}
Email: {{ $order->customer_email }}
Payment Method: {{ ucfirst($order->payment_method) }}
Payment Status: {{ ucfirst($order->payment_status) }}
Order Status: {{ ucfirst(str_replace('_', ' ',
$order->order_status)) }}
Items Ordered
| Product |
Quantity |
Unit 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 Amount:
|
{{ 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
Please log in to the admin panel to manage this order:
View in Admin Panel
|