{{ config('app.name') }} Continuar Comprando

Meu Carrinho

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if(empty($cart['items']))

Seu carrinho está vazio

Adicione produtos para continuar comprando

Ver Produtos
@else
@foreach($cart['items'] as $index => $item)
@if($item['image']) {{ $item['name'] }} @else
@endif
{{ $item['type'] === 'combo' ? 'Combo' : 'Produto' }}

{{ $item['name'] }}

@if($item['variant'])
@foreach($item['variant'] as $variantName => $variantValue) {{ $variantValue }} @endforeach
@endif
@csrf
@csrf
@if($item['discount_price'] && $item['discount_price'] < $item['price'])

R$ {{ number_format($item['price'], 2, ',', '.') }}

R$ {{ number_format($item['discount_price'], 2, ',', '.') }}

@else

R$ {{ number_format($item['price'], 2, ',', '.') }}

@endif @if($item['pix_price'] && $item['pix_price'] < ($item['discount_price'] ?? $item['price']))

PIX: R$ {{ number_format($item['pix_price'], 2, ',', '.') }}

@endif
@endforeach

Resumo do Pedido

@if($cart['coupon'])

Cupom Aplicado

{{ $cart['coupon']['code'] }}

@csrf
@else
@csrf
@endif
Subtotal R$ {{ number_format($cart['subtotal'], 2, ',', '.') }}
@if($cart['discount'] > 0)
Desconto - R$ {{ number_format($cart['discount'], 2, ',', '.') }}
@endif @if($cart['free_shipping'])
Frete GRÁTIS
@elseif($cart['shipping_cost'] > 0)
Frete R$ {{ number_format($cart['shipping_cost'], 2, ',', '.') }}
@else
Frete GRÁTIS
@endif
Total R$ {{ number_format($cart['total'], 2, ',', '.') }}
@if($cart['pix_total'] && $cart['pix_total'] < $cart['total'])

No PIX

à vista

R$ {{ number_format($cart['pix_total'], 2, ',', '.') }}
@endif
@if(!$cart['free_shipping'] && isset($cart['subtotal']) && $cart['subtotal'] < ($freeShippingThreshold ?? 9999)) @php $remaining = ($freeShippingThreshold ?? 0) - $cart['subtotal']; $percentage = min(100, ($cart['subtotal'] / ($freeShippingThreshold ?? 1)) * 100); @endphp @if($freeShippingThreshold ?? 0)
Faltam R$ {{ number_format($remaining, 2, ',', '.') }} para frete grátis {{ number_format($percentage, 0) }}%
@endif @endif

Pagamento seguro com Asaas

@endif