Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion ViewModel/Installation.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,19 @@ private function isAdmin()
*
* @return string
*/
private function getRegion($storeId = null): string
private function getRegion($storeId = null): ?string
{
return null;
/*
* Removed Nov. 2025 if the payload has a region (form the store) , it overrides the customer's region.
* This bypasses the location filtering. let the API determine the region based on the customer.

return (string)$this->scopeConfig->getValue(
\Magento\Config\Model\Config\Backend\Admin\Custom::XML_PATH_GENERAL_COUNTRY_DEFAULT,
ScopeInterface::SCOPE_STORES,
$storeId
);
*/
}

/**
Expand Down