2026-07-03 02:15:31 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Auto-create Customer for User
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| When enabled, creating a User automatically creates and attaches a bare
|
|
|
|
|
| Customer record (storefront passwordless-signup convention). Shops that
|
|
|
|
|
| drive the relationship the other way around (creating a Customer first,
|
|
|
|
|
| then a User for portal login) should set this to false.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'auto_create_customer_for_user' => true,
|
|
|
|
|
|
2026-08-28 00:27:46 +03:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Cart Abandonment Threshold
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| How long a cart (that hasn't converted to a placed order) can go without
|
|
|
|
|
| activity before Modules\Core\Cart\Filament\Resources\CartResource treats
|
|
|
|
|
| it as "Abandoned" rather than "Ongoing". Anything DateInterval::createFromDateString()
|
|
|
|
|
| accepts works, e.g. '1 hour', '30 minutes', '2 days'.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'cart' => [
|
|
|
|
|
'abandoned_after' => '1 hour',
|
2026-09-10 01:13:15 +03:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|----------------------------------------------------------------------
|
|
|
|
|
| Unrecoverable Cap
|
|
|
|
|
|----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| Beyond this age, a stale cart stops being treated as an active
|
|
|
|
|
| "Abandoned Cart"/"Abandoned Checkout" (Modules\Core\Cart\Services\
|
|
|
|
|
| CartLifecycleService) — too old to be a realistic recovery target
|
|
|
|
|
| (pricing/stock/tax likely stale by then). This is about the
|
|
|
|
|
| abandoned-cart pipeline only, not data retention — no rows are
|
|
|
|
|
| deleted or pruned based on this value.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'unrecoverable_after' => '90 days',
|
2026-08-28 00:27:46 +03:00
|
|
|
],
|
|
|
|
|
|
2026-07-03 02:15:31 +03:00
|
|
|
];
|