@extends('layouts.main') @push('title') Cart @endpush @section('main-section')

Checkout

Unlock your financial potential and pave your path to prosperity through smart investments and strategic decisions. Explore opportunities and embark on your journey to financial freedom today.

@if (session()->has('success_message'))
{{ session()->get('success_message') }}
@endif @if (count($errors) > 0)
@endif
{{ csrf_field() }}

Billing Details

@if (auth()->user()) @else @endif
{{-- --}}
@if ($paypalToken)
or

Pay with PayPal

@csrf
@endif

Your Order

@if ($cart_products->count() > 0) @foreach ($cart_products as $item)
item
{{ $item->name }}
{{ $item->details }}
{{ $item->price }}
{{ $item->product_quantity }}
@endforeach @endif
Subtotal
@if (session()->has('coupon')) Discount ({{ session()->get('coupon')['name'] }}) :

New Subtotal
@endif Tax ({{ config('cart.tax') }}%)
Total
@if ($cart_products->count() > 0) {{ $cart_subtotal }}
@endif @if ($cart_products->count() > 0 && session()->has('coupon')) -{{ $discount }}

@if (isset($newSubtotal)) {{ $newSubtotal }}
@endif @endif @if (isset($newTax)) {{ $newTax }}
@endif @if (isset($newTotal)) {{ $newTotal }}
@endif
{{-- --}} @endsection