Files
core/config/core.php
T

36 lines
1.2 KiB
PHP

<?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,
/*
|--------------------------------------------------------------------------
| 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',
],
];