@extends('layouts.app') @section('title', 'Abandoned Checkouts') @section('content')

Abandoned Checkouts

Track and recover customers who didn't complete their purchase • {{ $dateRange['label'] }}

Total Abandonments
{{ number_format($statistics['total_abandonments']) }}
Recovered
{{ number_format($statistics['total_recovered']) }}
{{ $statistics['recovery_rate'] }}% recovery rate
Total Value
RM {{ number_format($statistics['total_value'], 2) }}
Avg: RM {{ number_format($statistics['average_cart_value'], 2) }}
Recovered Value
RM {{ number_format($statistics['recovered_value'], 2) }}
@if($stage || $recovered || $followUpSent || $search) Clear @endif
@forelse($abandonments as $abandonment) @empty @endforelse
Date Customer Contact Cart Amount Stage Status Actions
{{ $abandonment->created_at->format('M d, Y') }}
{{ $abandonment->created_at->format('h:i A') }}
{{ $abandonment->days_since_abandonment }}d ago
{{ $abandonment->customer_name ?: 'N/A' }}
@if($abandonment->customer_city)
{{ $abandonment->customer_city }}, {{ $abandonment->customer_state }}
@endif
@if($abandonment->customer_email)
{{ $abandonment->customer_email }}
@endif @if($abandonment->customer_phone)
{{ $abandonment->customer_phone }}
@endif
{{ $abandonment->cart_items_count }} item(s)
{{ $abandonment->getCartSummary() }}
{{ $abandonment->formatted_total }} {{ $abandonment->getStageLabel() }} @if($abandonment->recovered) Recovered @else Not Recovered @endif @if($abandonment->follow_up_sent)
Follow-up sent
@endif
View Details

No abandoned checkouts found for this period.

@if($abandonments->hasPages())
{{ $abandonments->links() }}
@endif
@endsection