@if ($order) @php $version = get_cms_version(); Theme::asset()->add('front-ecommerce-css', 'vendor/core/plugins/ecommerce/css/front-ecommerce.css', version: $version); @endphp
| {{ __('Product') }} | {{ __('Price') }} | {{ __('Quantity') }} | {{ __('Total') }} |
|---|---|---|---|
|
@if ($product && $product->original_product?->url)
{!! BaseHelper::clean($orderProduct->product_name) !!}
@else
{!! BaseHelper::clean($orderProduct->product_name) !!}
@endif
@if ($sku = Arr::get($orderProduct->options, 'sku'))
SKU: {{ $sku }}
@endif
@if ($attributes = Arr::get($orderProduct->options, 'attributes'))
{{ $attributes }} @endif |
{{ $orderProduct->amount_format }} | {{ $orderProduct->qty }} | {{ $orderProduct->total_format }} |
| {{ __('Order Summary') }} | {{ __('Total') }} | ||
| {{ __('Subtotal') }} | {{ format_price($order->amount) }} | ||
| {{ __('Tax') }} | {{ format_price($order->tax_amount) }} | ||
| {{ __('Charges Amount') }} | {{ format_price($order->charges_totalamount) }} | ||
| {{ __('Discount') }} | -{{ format_price($order->discount_amount) }} | ||
| {{ __('Shipping fee') }} | {{ format_price($order->shipping_amount) }} | ||
| @if ($order->pick_up_shipping_location) {{ __('Pickup Location') }}: @else {!! BaseHelper::html( __('Shipping Method and fee') . ($order->is_free_shipping ? ' (' . __('Using coupon code') . ': ' . $order->coupon_code . ')' : ''), ) !!}: @endif | @if ($order->pick_up_shipping_location) {{ $order->pick_up_shipping_location }} @else {{ BaseHelper::html( $order->shipping_method_name . ((float) $order->shipping_amount ? ' - ' . format_price($order->shipping_amount) : ' - ' . __('Free')) ) }} @endif | ||
| {{ __('Total Amount') }} | {{ format_price($order->sub_total) }} |