2026-09-24 19:08:13 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Per-site settings for the cart + checkout module (see
|
2026-09-25 20:22:38 +03:00
|
|
|
* Modules\Core\Providers\CheckoutModuleServiceProvider). Publishable —
|
|
|
|
|
* artisan vendor:publish --tag=core-config.
|
2026-09-24 19:08:13 +03:00
|
|
|
*/
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Name of the storefront's login route. The checkout's login tab and the
|
|
|
|
|
* confirmation page link to it with `?redirect=<checkout path>`, so the
|
2026-09-25 20:22:38 +03:00
|
|
|
* login page must send the shopper back there afterwards. null: no login
|
|
|
|
|
* offered in checkout at all.
|
2026-09-24 19:08:13 +03:00
|
|
|
*/
|
|
|
|
|
'login_route' => 'login',
|
|
|
|
|
|
2026-09-25 20:22:38 +03:00
|
|
|
/*
|
|
|
|
|
* Name of the storefront's product-listing route — where confirmation()
|
|
|
|
|
* redirects a visit with no placed order to look at (session expired,
|
|
|
|
|
* direct navigation, a bookmark). route($this, $locale) must resolve.
|
|
|
|
|
*/
|
|
|
|
|
'products_route' => 'products',
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* ISO 3166-1 alpha-3 code fixing checkout to a single country (a hidden
|
|
|
|
|
* field, forced server-side — no country picker shown at all). null (the
|
|
|
|
|
* default) gives the full country/region picker, for a multi-country
|
|
|
|
|
* store. 3dealer is Greece-only for now.
|
|
|
|
|
*/
|
|
|
|
|
'store_country_iso3' => 'GRC',
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* The `purpose` tag CartController expects a product custom field's
|
|
|
|
|
* `file` answer to already carry (see Modules\Core\File\Models\File) —
|
|
|
|
|
* matches whatever purpose string the host's own upload endpoint
|
|
|
|
|
* (extending Modules\Core\File\Http\Controllers\UploadFileController)
|
|
|
|
|
* tags its stored files with. This module never reaches into that
|
|
|
|
|
* host controller directly; this config value is the one shared
|
|
|
|
|
* source of truth between the two.
|
|
|
|
|
*/
|
|
|
|
|
'custom_field_upload_purpose' => 'custom-field-upload',
|
|
|
|
|
|
2026-09-24 19:08:13 +03:00
|
|
|
];
|