|
||||||
|
||||||
{{ trans('plugins/ecommerce::order.payment_method') }} | {{ trans('plugins/ecommerce::order.payment_status_label') }} | |||||
{{ $order->payment->payment_channel->label() }} | {{ $order->payment->status->label() }} | |||||
{{ trans('plugins/ecommerce::products.form.product') }} | {{ trans('plugins/ecommerce::products.form.options') }} | {{ trans('plugins/ecommerce::products.form.price') }} | {{ trans('plugins/ecommerce::products.form.quantity') }} | {{ trans('plugins/ecommerce::products.form.total') }} | ||
---|---|---|---|---|---|---|
{{ $product->name }} |
@php $attributes = get_product_attributes($product->id); @endphp
@if (!empty($attributes))
@foreach ($attributes as $attribute)
@if (!$loop->last)
{{ $attribute->attribute_set_title }}: {{ $attribute->title }} @else {{ $attribute->attribute_set_title }}: {{ $attribute->title }} @endif @endforeach @endif @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 |
@if ($product->front_sale_price != $product->price)
{!! htmlentities(format_price($product->front_sale_price)) !!}
|
{{ $orderProduct->qty }} | @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.shipping_fee') }}: {!! htmlentities(format_price($order->shipping_amount)) !!} {{ trans('plugins/ecommerce::products.form.discount') }}: {!! htmlentities(format_price($order->discount_amount)) !!} {{ trans('plugins/ecommerce::products.form.total') }}: {!! htmlentities(format_price($order->amount)) !!} |