Add Woo Manager email notification milestones with shared mail templates.
Deploy Ladill Woo Manager / deploy (push) Successful in 2m11s

New order, store connected, Pro expiry, and past-due alerts use the Ladill notification layout with woo branding; expiry reminders dedupe per threshold like hosting.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-07 02:59:45 +00:00
co-authored by Cursor
parent 1edf5aad43
commit cfdc8c7c09
22 changed files with 926 additions and 12 deletions
+10
View File
@@ -119,5 +119,15 @@ return [
'support_path' => '/support',
'home_label' => 'servers.ladill.com',
],
'woo' => [
'name' => 'Ladill Woo Manager',
'logo' => 'ladillwoomanager-logo.svg',
'logo_class' => 'email-logo',
'app_url' => env('APP_URL', 'https://woo.ladill.com'),
'footer_account' => 'a Ladill Woo Manager account',
'dashboard_path' => '/dashboard',
'support_path' => '/support',
'home_label' => 'woo.ladill.com',
],
],
];
+28 -5
View File
@@ -4,14 +4,37 @@ return [
/*
|--------------------------------------------------------------------------
| FCM push for Ladill Mini Android
| FCM push (legacy Mini scaffolding)
|--------------------------------------------------------------------------
|
| Sellers receive instant payment alerts when a device token is registered
| and the account was active in the app within this window.
|
*/
'fcm_active_user_within_days' => (int) env('NOTIFICATIONS_FCM_ACTIVE_USER_DAYS', 60),
/*
|--------------------------------------------------------------------------
| Woo Manager Pro days before period end to send one-time reminder emails
|--------------------------------------------------------------------------
*/
'pro_expiry_milestones' => array_values(array_map(
'intval',
explode(',', (string) env('WOO_PRO_EXPIRY_MILESTONES', '7,3,1'))
)),
/*
|--------------------------------------------------------------------------
| Woo Manager notification events
|--------------------------------------------------------------------------
|
| milestone keys are stored on in-app notifications for filtering/history.
|
*/
'woo_events' => [
'order_received' => ['mail' => true, 'database' => true],
'store_connected' => ['mail' => true, 'database' => true],
'pro_expiring' => ['mail' => true, 'database' => true],
'pro_past_due' => ['mail' => true, 'database' => true],
],
];