@if (Cart::items()->count() === 0)

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

@endif @foreach (Cart::items() as $item)

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

@foreach ($item->config_options as $option) {{ $option['option_name'] }}: {{ $option['value_name'] }}
@endforeach

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

@if ($item->product->allow_quantity == 'combined')
- +
@endif {{ __('product.edit') }}
{{ __('product.remove') }}
@endforeach
@if (Cart::items()->count() > 0)

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

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

{{ $coupon->code }}

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

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

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

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

{{ $total->format($total->tax) }}
@endif

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

{{ $total->format($total->total) }}
@if(config('settings.tos')) {{ __('product.tos') }} {{ __('product.tos_link') }} @endif
{{ __('product.checkout') }}
@endif