{!! render_image_markup_by_attachment_id(get_static_option('site_logo')) !!}
  • {{__('Order ID: ')}} {{'#'.$order_details->id}}
  • {{__('Shipping Method:')}} {{ucwords(get_shipping_name_by_id($order_details->product_shippings_id))}}
  • {{__('Payment Method:')}} {{str_replace('_',' ', ucfirst($order_details->payment_gateway))}}
  • {{__('Payment Status:')}} {{ucfirst($order_details->payment_status)}}

{{__('Billing Details')}}

  • {{__('Name')}} {{$order_details->billing_name}}
  • {{__('Email')}} {{$order_details->billing_email}}
  • {{__('Phone')}} {{$order_details->billing_phone}}
  • {{__('Country')}} {{$order_details->billing_country}}
  • {{__('Street Address')}} {{$order_details->billing_street_address}}
  • {{__('District')}} {{$order_details->billing_district}}
  • {{__('Town')}} {{$order_details->billing_town}}
@if($order_details->different_shipping_address == 'yes')

{{__('Shipping Details')}}

  • {{__('Name')}} {{$order_details->shipping_name}}
  • {{__('Email')}} {{$order_details->shipping_email}}
  • {{__('Phone')}} {{$order_details->shipping_phone}}
  • {{__('Country')}} {{$order_details->shipping_country}}
  • {{__('Street Address')}} {{$order_details->shipping_street_address}}
  • {{__('District')}} {{$order_details->shipping_district}}
  • {{__('Town')}} {{$order_details->shipping_town}}
@endif
@php $cart_items = unserialize($order_details->cart_items); @endphp

{{__('Order Summery')}}

@if(is_tax_enable()) @php $tax_percentage = get_static_option('product_tax_type') == 'total' ? '('.get_static_option('product_tax_percentage').')' : ''; @endphp @endif
{{__('Subtotal')}} {{amount_with_currency_symbol($order_details->subtotal,true)}}
{{__('Coupon Discount')}} - {{amount_with_currency_symbol($order_details->coupon_discount,true)}}
{{__('Shipping Cost')}} + {{amount_with_currency_symbol($order_details->shipping_cost,true)}}
{{__('Tax '.$tax_percentage)}} + {{amount_with_currency_symbol(cart_tax_for_mail_template($cart_items),true)}}
{{__('Total')}} {{amount_with_currency_symbol($order_details->total,true)}}

{{__('Ordered Products')}}

@foreach($cart_items as $item) @php $product_info = \App\Products::find($item['id']);@endphp @endforeach
{{__('thumbnail')}} {{__('Product Info')}}
{!! render_image_markup_by_attachment_id($product_info->image,'','thumb') !!}

{{$product_info->title}}

{{__('Price :')}} {{amount_with_currency_symbol($product_info->sale_price,true)}} {{__('Quantity :')}} {{$item['quantity']}} @php $tax_amount = 0; @endphp @if(get_static_option('product_tax_type') == 'individual' && is_tax_enable()) @php $percentage = !empty($product_info->tax_percentage) ? $product_info->tax_percentage : 0; $tax_amount = ($product_info->sale_price * $item['quantity']) / 100 * $product_info->tax_percentage; @endphp {{__('Tax ('.$percentage.'%) :')}} +{{amount_with_currency_symbol($tax_amount,true)}} @endif {{__('Subtotal :')}} {{amount_with_currency_symbol($product_info->sale_price * $item['quantity'] + $tax_amount ,true)}}