@extends('web.layout.master') @section('content')
@php $total = 0; $qtyTotal = 0; @endphp @forelse ($cartItems as $item) @php $total += ($item->price); $qtyTotal += $item->quantity; @endphp @endforeach
Shopping Cart Details
$499.00
  
...
Subtotal
Shipping
Dependent upon shipping address
Estimated Tax
Dependent upon shipping address
Total
USD ${{ number_format($total,2); }}

Shipping Address

@if(!auth()->check())

Already have an account? Login

@else

You are logged in as {{ Auth::user()->emailaddress }} (not you? Logout)

@endif
@if(!auth()->check()) @endif
@csrf @if(!auth()->check()) @endif
{{--

Shipping Address

--}} @if(empty($address) && empty($customerAddressPrimary) && auth()->check()) {{-- --}} @endif
@if (!empty($customerAddressPrimary))
@endif
@if(!auth()->check()) {{--
--}} @endif
@if(!auth()->check() || (empty($address) && empty($customerAddressPrimary) && auth()->check()))
...
@endif

Contact Information

check()) value="{{ auth()->user()->emailaddress }}" @endif class="form-control">
check()) value="{{ auth()->user()->firstname }}" @endif type="text" class="form-control">
check()) value="{{ auth()->user()->lastname }}" @endif type="text" class="form-control">
check()) value="{{ auth()->user()->companyname }}" @endif class="form-control">
check()) value="{{ auth()->user()->phonenumber }}" @endif class="form-control">

Payment

@if(!$cardData->isEmpty())
@endif
check() && !$cardData->isEmpty()) style="display: none;" @endif>

By clicking Pay, you're agreeing to the terms and conditions.

...
@endsection