Files
core/config/core.php
T

39 lines
1.3 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,
/*
|--------------------------------------------------------------------------
| Product Option Types
|--------------------------------------------------------------------------
|
| Enabled `Modules\Core\Product\Contracts\ProductOptionTypeInterface`
| implementations, describing what structured data a ProductOption's
| values carry in their `meta` jsonb column, and how an admin edits it.
| An admin picks one per ProductOption from a dropdown built from this
| list (stored in ProductOption::meta, not tied to the option's handle) —
| a ProductOption with none selected has no described meta behavior,
| plain name/position only.
|
| \App\ProductOptions\ColorOptionType::class,
|
*/
'product_option_types' => [],
];