@extends('frontend.include.layout') @section('content')
@if($message = Session::get('error')) @endif @if($message = Session::get('success')) @endif
{{ $cart_count }} items in your Cart
Total
@php $sub_total=0; @endphp
Image
Asset Details
Price
Remove
@foreach($cart_details as $key => $cart_detail) @php $asset_detail= \App\Models\AssetDetails::where('id',$cart_detail->asset_id)->first(); @endphp
@php $currentassetid=$asset_detail->id; $assetthumbnailmmagedisplays=\App\Models\AssetThumbnailImages::select('thumbnailimages')->where('asset_id',$currentassetid)->get(); @endphp

{{ $asset_detail->asset_name }}


@php $actordetails=\App\Models\ActorController::select('name','slug')->where('id', $asset_detail->userid)->first(); @endphp
{{ $actordetails->name }}
@php echo $money = \App\Http\Controllers\AssetDetailsController::displayassetprice($asset_detail->id); @endphp
@php $sub_total=$sub_total+$asset_detail->cost; @endphp @endforeach
.
Subtotal ({{ $cart_count }} items): ${{ $sub_total }}
   
Subtotal ({{ $cart_count }} items)

${{ $sub_total }}

Secure checkout:
@php if(auth()->user()) { @endphp
@csrf
@php } else { @endphp Proceed To CheckOut @php } @endphp

@endsection