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