{{ __('Order number') }}: {{ $order->code }}
@foreach ($order->products as $orderProduct)
{{ $orderProduct->product_name }} {{ $orderProduct->qty }}

{!! BaseHelper::clean($orderProduct->product_name) !!}

{{ Arr::get($orderProduct->options, 'attributes', '') }}

@if (!empty($orderProduct->product_options) && is_array($orderProduct->product_options)) {!! render_product_options_html($orderProduct->product_options, $orderProduct->price) !!} @endif @include(EcommerceHelper::viewPath('includes.cart-item-options-extras'), [ 'options' => $orderProduct->options, ]) @if (EcommerceHelper::isTaxEnabled() && $orderProduct->tax_amount > 0 && count($order->products) > 1)

{{ __('Tax') }}: {{ format_price($orderProduct->tax_amount) }} @if (!empty($orderProduct->options['taxClasses'])) ( @foreach ($orderProduct->options['taxClasses'] as $taxName => $taxRate) {{ $taxName }} {{ $taxRate }}%@if (!$loop->last), @endif @endforeach ) @elseif (!empty($orderProduct->options['taxRate']) && $orderProduct->options['taxRate'] > 0) ({{ $orderProduct->options['taxRate'] }}%) @endif

@endif

{{ format_price($orderProduct->price) }}

@if (count($order->products) > 1) @if (EcommerceHelper::isTaxEnabled() && $orderProduct->tax_amount > 0)

{{ __('Total') }}: {{ format_price(($orderProduct->price + ($orderProduct->tax_amount / $orderProduct->qty)) * $orderProduct->qty) }}

@else

{{ __('Total') }}: {{ format_price($orderProduct->price * $orderProduct->qty) }}

@endif @endif
@endforeach @if (!empty($isShowTotalInfo)) @include('plugins/ecommerce::orders.thank-you.total-info', compact('order')) @endif