@php $p = auth()->user()->role_prefix; @endphp

Customer Download Plans

Manage customer subscription tiers, download limits, and content access.

Create Plan
{{-- Global Features Modal --}} @if (session('success'))
{{ session('success') }}
@endif
@forelse ($plans as $plan)
@if (! $plan->is_active)
INACTIVE
@endif @if ($plan->highlight_plan)
FEATURED
@endif

{{ $plan->name }}

@if ($plan->badge) {{ strtoupper($plan->badge) }} @endif
{{ $plan->currency === 'USD' ? '$' : $plan->currency }}{{ number_format($plan->price, 2) }} / {{ $plan->price_interval }}
@if ($plan->unlimited_downloads || $plan->download_limit_type === 'unlimited') Unlimited Downloads @elseif ($plan->download_limit_type === 'monthly') {{ number_format($plan->download_limit_value) }} Monthly @elseif ($plan->download_limit_type === 'lifetime') {{ number_format($plan->download_limit_value) }} Total @else {{-- Fallback for older records --}} @if ($plan->limit_type === 'monthly_limit') {{ number_format($plan->monthly_download_limit) }} Monthly @else {{ number_format($plan->total_download_limit) }} Total @endif @endif
@if ($plan->access_type === 'all') All Products @elseif ($plan->access_type === 'premium_only') Premium Only @else Restricted Access @endif
Daily cap: {{ $plan->daily_download_limit > 0 ? $plan->daily_download_limit : 'None' }}
@if($plan->features_list)

Extended Perks

@foreach($plan->features_list as $feature)
{{ $feature }}
@endforeach
@endif
{{ $plan->subscriptions_count ?? 0 }} active subs
Edit Plan
@csrf @method('DELETE')
@empty

No customer plans found

Create a plan to allow customers to subscribe for digital downloads.

Create New Plan
@endforelse