@if($emailSettings['show_logo'] && !empty($companyInfo['logo'])) {{ $companyInfo['name'] }} @else

{{ $companyInfo['name'] }}

@endif
✓

Order Confirmed!

Thank you for your order, {{ $customerName }}

Order Number

#{{ $order->order_number }}

Order Date

{{ $order->created_at->format('d M Y, h:i A') }}

Order Items

@forelse($lineItems as $item) @empty @endforelse
@if(!empty($item['image']['src'])) {{ $item['name'] }} @else
🛒
@endif

{{ $item['name'] ?? 'Product' }}

@if(!empty($item['variation_id']) || !empty($item['meta_data']))

@if(!empty($item['meta_data'])) @foreach($item['meta_data'] as $meta) @if(!str_starts_with($meta['key'] ?? '', '_')) {{ $meta['display_key'] ?? $meta['key'] }}: {{ $meta['display_value'] ?? $meta['value'] }}@if(!$loop->last), @endif @endif @endforeach @endif

@endif

Qty: {{ $item['quantity'] ?? 1 }}

{{ $order->currency ?? 'RM' }} {{ number_format($item['total'] ?? 0, 2) }}

No items found
@if($order->subtotal) @endif @if($order->shipping_total > 0) @endif @if($order->discount_total > 0) @endif @if($order->fee_total > 0) @endif
Subtotal {{ $order->currency ?? 'RM' }} {{ number_format($order->subtotal, 2) }}
Shipping @if($order->shipping_method_title) ({{ $order->shipping_method_title }}) @endif {{ $order->currency ?? 'RM' }} {{ number_format($order->shipping_total, 2) }}
Discount -{{ $order->currency ?? 'RM' }} {{ number_format($order->discount_total, 2) }}
Fees {{ $order->currency ?? 'RM' }} {{ number_format($order->fee_total, 2) }}

Total {{ $order->currency ?? 'RM' }} {{ number_format($order->total, 2) }}

Payment Method

{{ $order->payment_method_title ?? $order->payment_method ?? 'N/A' }}

Status

{{ ucfirst($order->status) }}

Billing Address

{{ $billingAddress ?: 'N/A' }}

@if(!empty($order->billing['phone']))

Phone: {{ $order->billing['phone'] }}

@endif @if(!empty($order->billing['email']))

Email: {{ $order->billing['email'] }}

@endif

Shipping Address

{{ $shippingAddress ?: $billingAddress ?: 'N/A' }}

@if(!empty($order->shipping['phone']))

Phone: {{ $order->shipping['phone'] }}

@endif

What's Next?

We're preparing your order for shipment. You'll receive a notification with tracking information once your order has been shipped.

Check Order Status

{{ $emailSettings['footer_text'] }}

{{ $companyInfo['name'] }}

@if(!empty($companyInfo['address']))

{{ $companyInfo['address'] }}

@endif @if(!empty($companyInfo['phone']))

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

@endif @if(!empty($companyInfo['email']))

Email: {{ $companyInfo['email'] }}

@endif

© {{ date('Y') }} {{ $companyInfo['name'] }}. All rights reserved.