@if (Cart::get()->isEmpty())

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

@endif @foreach (Cart::get() as $key => $item)

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

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

{{ $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
@if (!Cart::get()->isEmpty())

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

@if(!$coupon)
{{ __('product.apply') }}
@else

{{ $coupon->code }}

{{ __('product.remove') }}
@endif

{{ __('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() && 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') }}
@endif