{{ trans('plugins/ecommerce::order.customer_label') }} | {{ $order->address->name }} |
{{ $order->full_address }} | |
{{ trans('plugins/ecommerce::order.created') }}: {{ now()->format('F d, Y') }} | {{ $order->address->email }} |
{{ trans('plugins/ecommerce::order.invoice') }}: {{ get_order_code($order->id) }} | {{ $order->address->phone ?? 'N/A' }} |
{{ trans('plugins/ecommerce::products.form.product') }} | {{ trans('plugins/ecommerce::products.form.options') }} | {{ trans('plugins/ecommerce::products.form.quantity') }} | {{ trans('plugins/ecommerce::products.form.price') }} | {{ trans('plugins/ecommerce::products.form.total') }} |
---|---|---|---|---|
{{ $product->name }} |
{{ $product->variation_attributes }}
@if (!empty($orderProduct->options) && is_array($orderProduct->options))
@foreach($orderProduct->options as $option)
@if (!empty($option['key']) && !empty($option['value']))
{{ $option['key'] }}: {{ $option['value'] }} @endif @endforeach @endif |
{{ $orderProduct->qty }} |
@if ($product->front_sale_price != $product->price)
{!! htmlentities(format_price($product->front_sale_price)) !!}
|
@if ($product->front_sale_price != $product->price) {!! htmlentities(format_price($product->front_sale_price * $orderProduct->qty)) !!} @else {!! htmlentities(format_price($product->price * $orderProduct->qty)) !!} @endif |
{{ trans('plugins/ecommerce::products.form.sub_total') }} | {!! htmlentities(format_price($order->sub_total)) !!} | |||
{{ trans('plugins/ecommerce::products.form.tax') }} | {!! htmlentities(format_price($order->tax_amount)) !!} | |||
{{ trans('plugins/ecommerce::products.form.shipping_fee') }} | {!! htmlentities(format_price($order->shipping_amount)) !!} | |||
{{ trans('plugins/ecommerce::products.form.discount') }} | {!! htmlentities(format_price($order->discount_amount)) !!} |
{{ trans('plugins/ecommerce::order.payment_info') }} | {{ trans('plugins/ecommerce::order.total_amount') }} |
---|---|
{{ trans('plugins/ecommerce::order.payment_method') }}: {{ $order->payment->payment_channel->label() }}
{{ trans('plugins/ecommerce::order.payment_status_label') }}: {{ $order->payment->status->label() }}
|
{!! htmlentities(format_price($order->amount)) !!} |