@if (!$order->dont_show_order_info_in_product_list) {{ trans('plugins/ecommerce::email.view_order') }} {!! trans('plugins/ecommerce::email.link_go_to_our_shop', ['link' => BaseHelper::getHomepageUrl()]) !!}
@endif @foreach($products ?? $order->products as $orderProduct) @endforeach @if (!$order->dont_show_order_info_in_product_list) @if ($order->sub_total != $order->amount) @endif @if ((float)$order->shipping_amount) @endif @if((float)$order->tax_amount) @endif @if ((float)$order->discount_amount) @endif @endif
{{ trans('plugins/ecommerce::products.form.quantity') }} {{ trans('plugins/ecommerce::products.form.price') }}
{{ $orderProduct->product_name }}
@if ($attributes = Arr::get($orderProduct->options, 'attributes')) {{ $attributes }} @endif
x {{ $orderProduct->qty }} {{ format_price($orderProduct->price) }}
{{ trans('plugins/ecommerce::products.form.sub_total') }} {{ format_price($order->sub_total) }}
{{ trans('plugins/ecommerce::products.form.shipping_fee') }} {{ format_price($order->shipping_amount) }}
{{ trans('plugins/ecommerce::products.form.tax') }} {{ format_price($order->tax_amount) }}
{{ trans('plugins/ecommerce::products.form.discount') }} {{ format_price($order->discount_amount) }}
{{ trans('plugins/ecommerce::products.form.total') }} {{ format_price($order->amount) }}