v7.0.0-beta.4 release

This commit is contained in:
HeuJung committed 2026-05-11 11:29:41 +09:00
1 parent 05db17887d
commit 1db039ff34
1545 files changed
+136783 -11634

No files matched your search

@@ -105,7 +105,7 @@ class ShippingPolicyCollection extends BaseApiCollection
if ($method === 'custom') {
$name = $countrySetting->custom_shipping_name;
$locale = app()->getLocale();
$methodLabel = is_array($name) ? ($name[$locale] ?? $name['ko'] ?? $name[array_key_first($name)] ?? null) : null;
$methodLabel = is_array($name) ? ($name[$locale] ?? $name[config('app.fallback_locale', 'ko')] ?? $name[array_key_first($name)] ?? null) : null;
} else {
$methodLabel = $method
? \Modules\Sirsoft\Ecommerce\Models\ShippingType::getCachedByCode($method)?->getLocalizedName()