@php
$settingimages = \App\Models\Setting::first();
@endphp
@if(isset($settingimages) && $settingimages->hasMedia('logo'))
@else
@endif
|
|
| Your Order is Confirmed |
| Thank You For Your Purchase {{ $recipientName }}! |
|
ORDER NUMBER: #{{ $InvoiceNumber }}
|
|
|
Your order is in good hands! We're getting everything ready and you'll hear from us soon with your tracking details.
|
|
@if(isset($order))
View your order
@else
Order details not available.
@endif
|
Ship To:
{!! nl2br(e($address['name'] . "\n" .
($address['company'] ?? '') . "\n" .
$address['address1'] . "\n" .
($address['address2'] ?? '') . "\n" .
$address['city'] . ', ' . $address['province_code'] . ' ' . $address['postal_code'] . "\n" .
$address['country_code'] . "\n" .
'Phone: ' . $address['phone'] . "\n" .
'Email: ' . $address['email']
)) !!}
|
Bill To:
{!! nl2br(e($address['name'] . "\n" .
($address['company'] ?? '') . "\n" .
$address['address1'] . "\n" .
($address['address2'] ?? '') . "\n" .
$address['city'] . ', ' . $address['province_code'] . ' ' . $address['postal_code'] . "\n" .
$address['country_code'] . "\n" .
'Phone: ' . $address['phone'] . "\n" .
'Email: ' . $address['email']
)) !!}
|
|
|
ORDER SUMMARY
|
@php $subTotal = 0; @endphp
@foreach ($cartItems as $item)
@php
$itemTotal = $item['price'] * $item['quantity'];
$subTotal += $itemTotal;
$product = \App\Models\Product::find($item['product_id']);
@endphp
@if($product)
@endif
|
{{ $item['name'] }} × {{ $item['quantity'] }}
{!! strip_tags($item['description'] ?? '') !!}
|
${{ number_format($itemTotal, 2) }} |
|
@endforeach
|
@php
$subTotal = $subTotal ?? 0;
$discount_amount = $discount_amount ?? 0;
$shipping = $shippingPrice ?? 0;
$totalAmount = $subTotal + $shipping - $discount_amount;
@endphp
Subtotal: ${{ number_format($subTotal, 2) }}
@if($discount_amount > 0)
Discount: ${{ number_format($discount_amount, 2) }}
@endif
@if($shipping > 0)
Shipping: ${{ number_format($shipping, 2) }}
@endif
@if($appliedCoupon)
Coupon ({{ $appliedCoupon }}): Applied
@endif
Total: ${{ number_format($totalAmount, 2) }} CAD
|
Customer information
Shipping address
{!! nl2br(e($address['name'] . "\n" .
($address['company'] ?? '') . "\n" .
$address['address1'] . "\n" .
($address['address2'] ?? '') . "\n" .
$address['city'] . ', ' . $address['province_code'] . ' ' . $address['postal_code'] . "\n" .
$address['country_code'] . "\n" .
'Phone: ' . $address['phone'] . "\n" .
'Email: ' . $address['email']
)) !!}
|
Billing address
{!! nl2br(e($address['name'] . "\n" .
($address['company'] ?? '') . "\n" .
$address['address1'] . "\n" .
($address['address2'] ?? '') . "\n" .
$address['city'] . ', ' . $address['province_code'] . ' ' . $address['postal_code'] . "\n" .
$address['country_code'] . "\n" .
'Phone: ' . $address['phone'] . "\n" .
'Email: ' . $address['email']
)) !!}
|
|
@if(!empty($couponCode))
|
Special Offer For You!
As a thank you for your first purchase with us, here's your exclusive discount coupon:
{{ $couponCode ?? '' }}
Get 10% off on your next order!
Valid until {{ now()->addMonths(2)->format('F d, Y') }}
Simply enter this code at checkout to redeem your discount.
|
@endif
If you have any questions, reply to this email or contact us at
info@upsence.com
|