diff --git a/src/Traits/EndpointTrait.php b/src/Traits/EndpointTrait.php index 33c229c8..100b4249 100644 --- a/src/Traits/EndpointTrait.php +++ b/src/Traits/EndpointTrait.php @@ -60,8 +60,12 @@ public static function resolveHost($product, $regionId = LocationService::GLOBAL */ public static function isGlobalProduct($productCode) { + $global = LocationService::GLOBAL_REGION; + if (self::resolveHostByStatic($productCode, $global)) { + return true; + } $productCode = strtolower($productCode); - return (bool)Config::get("endpoints.{$productCode}.global"); + return (bool)Config::get("endpoints.{$productCode}.{$global}"); } /**