@extends('layouts.frontLayout.front_design') @section('content') @php use App\Models\Product; @endphp
@if(Session::has('flash_message_error'))
{!! session('flash_message_error') !!}
@endif @if(Session::has('flash_message_success'))
{!! session('flash_message_success') !!}
@endif @php $totalAmount = 0; @endphp @foreach ($userCart as $cart) @php $totalAmount = $totalAmount + ($productPrice * $cart->quantity); @endphp @endforeach {{-- --}}
Producto Descripción Precio Cantidad Total

{{ $cart->product_name }}

{{ $cart->product_code }} | {{ $cart->size }}

@php $productPrice = Product::getProductPrice($cart->product_id, $cart->size); @endphp

$ {{ $productPrice }}

+ @if ($cart->quantity > 1) - @endif

$ {{ ($productPrice * $cart->quantity) }}

Colorblock Scuba

Web ID: 1089772

$59

$59

Colorblock Scuba

Web ID: 1089772

$59

$59

Colorblock Scuba

Web ID: 1089772

$59

$59

Que desea hacer?

{{--

Choose if you have a discount code or reward points you want to use or would like to estimate your delivery cost.

--}}

Escoja si tiene un código de descuento.

  • @csrf
  • {{--
  • --}}
{{-- --}} {{-- Cuotas Continuar --}}
@php $iva = $totalAmount * 0.19; $envio = 0; @endphp {{-- {{ "es: " . Session::get('CouponAmount') }} --}}
    @if (!empty(Session::get('CouponAmount')))
  • Sub Total:  $ {{ $totalAmount }}
  • IVA 19%:  $ {{ $iva }}
  • Descuento:  $ {{ Session::get('CouponAmount') }}
  • Costo envío Gratis:  {{ $envio }}
  • Total:  @php $getCurrencyRates = Product::getCurrencyRates(($totalAmount + $iva - Session::get('CouponAmount') + $envio)); @endphp $ {{ ($totalAmount + $iva - Session::get('CouponAmount') + $envio) }}
  • @else @php $getCurrencyRates = Product::getCurrencyRates($totalAmount); @endphp
  • Total:  $ {{ $totalAmount }}
  • @endif
Actualizar Comprar
@endsection