Skip to content

Commit df17f2f

Browse files
authored
ENGCOM-3601: Fix DHL Quotes for Domestic Shipments when Content Type is set to Non-Document #19487
2 parents bde899b + 9fc3e32 commit df17f2f

File tree

4 files changed

+252
-96
lines changed

4 files changed

+252
-96
lines changed

app/code/Magento/Dhl/Model/Carrier.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,9 +1964,7 @@ protected function isDutiable($origCountryId, $destCountryId) : bool
19641964
{
19651965
$this->_checkDomesticStatus($origCountryId, $destCountryId);
19661966

1967-
return
1968-
self::DHL_CONTENT_TYPE_NON_DOC == $this->getConfigData('content_type')
1969-
|| !$this->_isDomestic;
1967+
return !$this->_isDomestic;
19701968
}
19711969

19721970
/**

0 commit comments

Comments
 (0)