{{-- Cart Items Section --}}
@if (Cart::get()->isEmpty())

{{ __('product.empty_cart') }}

@endif @foreach (Cart::get() as $key => $item)
@if ($item->product->image)
{{ $item->product->name }}
@endif

{{ $item->product->name }}

@if ($item->configOptions->isNotEmpty())

@foreach ($item->configOptions as $option) {{ $option->option_name }}: {{ $option->value_name }} @endforeach

@endif

{{ $item->price->format($item->price->price * $item->quantity) }} @if ($item->quantity > 1) ({{ $item->price }} {{ __('each') }}) @endif

@if ($item->product->allow_quantity == 'combined')
@endif {{ __('product.edit') }} {{ __('product.remove') }}
@endforeach
{{-- Order Summary & Checkout Section --}}
@if (!Cart::get()->isEmpty())

{{ __('product.order_summary') }}

{{-- Coupon Input / Display --}} @if(!$coupon)
{{ __('product.apply') }}
@else

{{ $coupon->code }} ({{ __('Applied') }})

@endif {{-- Price Details --}}

{{ __('invoices.subtotal') }}:

{{ $total->format($total->price - $total->tax) }}
@if ($total->tax > 0)

{{ \App\Classes\Settings::tax()->name }}:

{{ $total->formatted->tax }}
@endif

{{ __('invoices.total') }}:

{{ $total }}
@if($total->price > 0) @if(count($gateways) > 1)
@foreach ($gateways as $gateway) @endforeach
@endif @if(Auth::check() && Cart::get()->isNotEmpty() && Auth::user()->credits()->where('currency_code', Cart::get()->first()->price->currency->code)->exists() && Auth::user()->credits()->where('currency_code', Cart::get()->first()->price->currency->code)->first()->amount > 0)
@endif @endif @if(config('settings.tos'))
{{ __('product.tos') }} {{ __('product.tos_link') }}
@endif {{ __('product.checkout') }}
Secure checkout powered by encryption
@endif