@extends('index') @section('content')
@if(count($cart))
{{ __('web.CHECKOUT') }}
@foreach($cart as $item)
{{ $item->associatedModel->title }} {{ $item->price }} {{ config('settings.currency', 'USD') }} @foreach($item->associatedModel->artists as $artist){!! $artist->name !!}@if(!$loop->last), @endif @endforeach
@endforeach
{{ __('web.SUBTOTAL') }}{{ Cart::getSubtotal() }} {{ config('settings.currency', 'USD') }}
@if(env('APP_COUPON_PLUGIN') && count(Cart::getConditions()))
{{ __('web.DISCOUNT') }}-{{ number_format((Cart::getSubtotal() - Cart::geTtotal()), 2) }} {{ config('settings.currency', 'USD') }}
{{ __('web.total') }}{{ number_format(Cart::geTtotal(), 2) }} {{ config('settings.currency', 'USD') }}
@endif @if(env('APP_COUPON_PLUGIN') && ! count(Cart::getConditions()))

@endif
@else

{{ __('web.CART_IS_EMPTY') }}

@endif
@endsection