@extends('layouts.front.app') @section('og') @endsection @section('css') @endsection @section('content')
@if ($cartItems->count() > 0)
@foreach ($cartItems as $cartItem) @endforeach

Produto

Preço

Quantidade

SubTotal

{{ $cartItem->name }}
{{ config('cart.currency_symbol') }} {{ number_format($cartItem->price, 2, ',', '.') }} {{ config('cart.currency_symbol') }} {{ number_format($cartItem->subtotal, 2, ',', '.') }}
{{ csrf_field() }}
Subtotal Frete Total
{{ config('cart.currency_symbol') }} {{ number_format($subtotal, 2, ',', '.') }} {{ config('cart.currency_symbol') }} {{ number_format($cartItem->options->frete, 2, ',', '.') }} {{ config('cart.currency_symbol') }} {{ number_format(floatval($total) + floatval($cartItem->options->frete), 2, ',', '.') }}
@if (auth()->check()) @else @endif
@else
@endif
@endsection @section('js') @endsection