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

Cart

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)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if ($cart_products->count() > 0)

{{ $cart_products->count() }} item(s) in Shopping Cart

{{-- --}} @foreach ($cart_products as $item) {{-- --}} {{--
item
{!! $item->description !!}
{{ csrf_field() }} {{ method_field('DELETE') }}
{{ csrf_field() }}
{{ (int)$item['price'] * $item['product_quantity'] }}
--}} @endforeach
Product Image Product TitleProduct DescriptionQuantity Amount Action
item
{{ $item->product_title}} {!! $item->description !!}
{{ (int)$item['price'] * $item['product_quantity'] }}
{{ csrf_field() }} {{ method_field('DELETE') }}
{{ csrf_field() }}
@if (! session()->has('coupon')) Have a Code?
{{ csrf_field() }}
@endif
{{--
Shipping is free because we’re awesome like that. Also because that’s additional stuff I don’t feel like figuring out :).
--}}
Subtotal
@if (session()->has('coupon')) Code ({{ session()->get('coupon')['name'] }})
{{ csrf_field() }} {{ method_field('delete') }}

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

{{ $newSubtotal }}
@endif {{ $newTax }}
{{$newTotal}}
@else

No items in Cart!

Continue Shopping
@endif
@endsection