@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content')
@if ($order->token)

{{ trans('plugins/ecommerce::order.incomplete_order_description_1') }}

{{ trans('plugins/ecommerce::order.incomplete_order_description_2') }}


@if ($order->user->email || $order->address->email) @else {{ trans('plugins/ecommerce::order.cannot_send_order_recover_to_mail') }} @endif
@endif
@php $order->load(['products.product']); @endphp @foreach ($order->products as $orderProduct) @php $product = $orderProduct->product; @endphp @if ($product && $product->original_product) @endif @endforeach
{{ $product->name }}
@if ($product->original_product->id) {{ $orderProduct->product_name }} @else {{ $orderProduct->product_name }} @endif

{{ $product->variation_attributes }}

@if ($product->sku)

{{ trans('plugins/ecommerce::order.sku') }} : {{ $product->sku }}

@endif
{{ format_price($orderProduct->price) }} x {{ $orderProduct->qty }} {{ format_price($orderProduct->price * $orderProduct->qty) }}
@if (EcommerceHelper::isTaxEnabled()) @endif {!! apply_filters('ecommerce_admin_order_extra_info', null, $order) !!}
{{ trans('plugins/ecommerce::order.quantity') }} {{ number_format($order->products->sum('qty')) }}
{{ trans('plugins/ecommerce::order.sub_amount') }} {{ format_price($order->sub_total) }}

{{ trans('plugins/ecommerce::order.discount') }}

@if ($order->coupon_code)

{!! BaseHelper::clean(trans('plugins/ecommerce::order.coupon_code', ['code' => Html::tag('strong', $order->coupon_code)->toHtml()])) !!}

@elseif ($order->discount_description)

{{ $order->discount_description }}

@endif

{{ format_price($order->discount_amount) }}

{{ trans('plugins/ecommerce::order.shipping_fee') }}

{{ $order->shipping_method_name }}

{{ $weight }} {{ ecommerce_weight_unit(true) }}

{{ format_price($order->shipping_amount) }}

{{ trans('plugins/ecommerce::order.tax') }}

{{ format_price($order->tax_amount) }}

{{ trans('plugins/ecommerce::order.total_amount') }}

@if (is_plugin_active('payment') && $order->payment->id)

{{ $order->payment->payment_channel->label() }}

@endif
@if (is_plugin_active('payment') && $order->payment->id) {{ format_price($order->amount) }} @else {{ format_price($order->amount) }} @endif
{{ $order->address->name }}
@if ($order->referral()->count())
    @foreach (['ip', 'landing_domain', 'landing_page', 'landing_params', 'referral', 'gclid', 'fclid', 'utm_source', 'utm_campaign', 'utm_medium', 'utm_term', 'utm_content', 'referrer_url', 'referrer_domain'] as $field) @if ($order->referral->{$field})
  • {{ trans('plugins/ecommerce::order.referral_data.' . $field) }}: {{ $order->referral->{$field} }}
  • @endif @endforeach
@endif
 
{!! trans('plugins/ecommerce::order.notice_about_incomplete_order_description', ['email' => $order->user->id ? $order->user->email : $order->address->email]) !!} {{ trans('plugins/ecommerce::order.mark_as_completed.modal_description') }} @endsection