@extends('web.master') @section('content') @php $pdocrud = new_PDOCrud(); $pdomodel = $pdocrud->getPDOModelObj(); $pdomodel->fetchType ="obj"; $total_carro = $pdomodel->executeQuery("SELECT SUM(precio_carro * cantidad_carro) as total_carro FROM carro"); @endphp
@if(count(Cart::getContent()))
@forelse(Cart::getContent() as $item) @if(session('banderas') == "Chile") @else @endif @empty @endforelse
Imagen Producto Precio Cantidad Ancho Alto Papel Efectos Efecto Espejo
#

{{ $item->name }}

${{ number_format($item->price, 0, ',', '.') }}€{{ $item->price }}

{{ $item->quantity }}

{{ $item->attributes->ancho }} {{ $item->attributes->alto }} {{ $item->attributes->papel }} {{ $item->attributes->efectos }} {{ $item->attributes->espejo }}
@csrf
No hay Productos en el carrito
@else

No hay Productos en el carrito

Ir a Comprar
@endif
@if(count(Cart::getContent()))
  • TransporteGratis
  • @if(count(Cart::getContent())) @if(session('banderas') == "Chile")
  • Total a pagar${{ number_format(Cart::getTotal(), 0, ',', '.') }}
  • @else
  • Total a pagar€{{ Cart::getTotal() }}
  • @endif @else
  • Total a pagar$0
  • @endif
@if(Auth::guard('persona')->check()) Confirmar pedido @else Confirmar pedido @endif Seguir Comprando
@csrf
@endif
@endsection