Skip to content

Commit ff97950

Browse files
fix for document type
1 parent cff6a6f commit ff97950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1776,7 +1776,7 @@ protected function _shipmentDetails($xml, $rawRequest, $originRegion = '')
17761776
$nodeShipmentDetails->addChild('DoorTo', 'DD');
17771777
$nodeShipmentDetails->addChild('DimensionUnit', substr($this->_getDimensionUnit(), 0, 1));
17781778
$contentType = isset($package['params']['container']) ? $package['params']['container'] : '';
1779-
$packageType = $contentType === self::DHL_CONTENT_TYPE_NON_DOC ? 'CP' : '';
1779+
$packageType = $contentType === self::DHL_CONTENT_TYPE_NON_DOC ? 'CP' : 'EE';
17801780
$nodeShipmentDetails->addChild('PackageType', $packageType);
17811781
if ($this->isDutiable($rawRequest->getOrigCountryId(), $rawRequest->getDestCountryId())) {
17821782
$nodeShipmentDetails->addChild('IsDutiable', 'Y');

0 commit comments

Comments
 (0)