@component('shop::emails.layout')
@lang('shop::app.emails.dear', ['customer_name' => $order->customer_full_name]),👋
{!! __('shop::app.emails.orders.created.greeting', [ 'order_id' => '#' . $order->increment_id . '', 'created_at' => core()->formatDate($order->created_at, 'Y-m-d H:i:s') ]) !!}
@lang('shop::app.emails.orders.' . $item) | @endforeach|||
---|---|---|---|
{{ $item->getTypeInstance()->getOrderedItem($item)->sku }} |
{{ $item->name }}
@if (isset($item->additional['attributes']))
@foreach ($item->additional['attributes'] as $attribute)
@if (
! isset($attribute['attribute_type'])
|| $attribute['attribute_type'] !== 'file'
)
{{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endif
@else {{ $attribute['attribute_name'] }} : {{ File::basename($attribute['option_label']) }} @endif @endforeach |
@if (core()->getConfigData('sales.taxes.sales.display_prices') == 'including_tax') {{ core()->formatPrice($item->price_incl_tax, $order->order_currency_code) }} @elseif (core()->getConfigData('sales.taxes.sales.display_prices') == 'both') {{ core()->formatPrice($item->price_incl_tax, $order->order_currency_code) }} @lang('shop::app.emails.orders.excl-tax') {{ core()->formatPrice($item->price, $order->order_currency_code) }} @else {{ core()->formatPrice($item->price, $order->order_currency_code) }} @endif | {{ $item->qty_ordered }} |