@include('plugins/ecommerce::orders.thank-you.total-row', [ 'label' => __('Subtotal'), 'value' => format_price($order->sub_total) ]) @if ($order->shipping_method->getValue()) @include('plugins/ecommerce::orders.thank-you.total-row', [ 'label' => __('Shipping fee') . ($order->is_free_shipping ? ' (' . __('Using coupon code') . ': ' . $order->coupon_code . ')' : ''), 'value' => $order->shipping_method_name . ' - ' . format_price($order->shipping_amount) ]) @endif @if ($order->discount_amount !== null) @include('plugins/ecommerce::orders.thank-you.total-row', [ 'label' => __('Discount'), 'value' => format_price($order->discount_amount) . ($order->coupon_code ? ' (' . __('Using coupon code') . ': ' . $order->coupon_code . ')' : ''), ]) @endif @if (EcommerceHelper::isTaxEnabled()) @include('plugins/ecommerce::orders.thank-you.total-row', [ 'label' => __('Tax'), 'value' => format_price($order->tax_amount) ]) @endif {!! apply_filters('ecommerce_thank_you_total_info', null, $order) !!}

{{ __('Total') }}:

{{ format_price($order->amount) }}