@extends('plugins/ecommerce::orders.master') @section('title', __('Order successfully at :site_title', ['site_title' => theme_option('site_title')])) @section('content')
@include('plugins/ecommerce::orders.partials.logo')

{{ __('Your order is successfully placed') }}

{{ __('Thank you for purchasing our products!') }}

@include('plugins/ecommerce::orders.thank-you.customer-info', [ 'order' => $orders, 'isShowShipping' => false, ]) {{ __('Continue shopping') }}
@foreach ($orders as $order) @include('plugins/ecommerce::orders.thank-you.order-info', ['isShowTotalInfo' => true]) @if (! $loop->last)
@endif @endforeach @if (count($orders) > 1)

{{ __('Sub amount') }}:

{{ format_price($orders->sum('sub_total')) }}

@if ($orders->filter(fn ($order) => $order->shipment->id)->count())

{{ __('Shipping fee') }}:

{{ format_price($orders->sum('shipping_amount')) }}

@endif @if ($orders->sum('discount_amount'))

{{ __('Discount') }}:

{{ format_price($orders->sum('discount_amount')) }}

@endif @if (EcommerceHelper::isTaxEnabled())

{{ __('Tax') }}:

{{ format_price($orders->sum('tax_amount')) }}

@endif

{{ __('Total amount') }}:

{{ format_price($orders->sum('amount')) }}

@endif
@stop