From ee11f5cca82d42567e46f5835badefbd16edd1a8 Mon Sep 17 00:00:00 2001 From: "Nicolas D." <50154923+nicolasddev@users.noreply.github.com> Date: Thu, 27 Nov 2025 23:22:04 -0500 Subject: [PATCH] Fix for Issue #40323 Fixed: The DHL shipment description was used as the Service Type instead of the DHL product title in the shipment Tracking Information popup. --- app/code/Magento/Dhl/Model/Carrier.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Dhl/Model/Carrier.php b/app/code/Magento/Dhl/Model/Carrier.php index d89ca4685960b..28382da46ef50 100644 --- a/app/code/Magento/Dhl/Model/Carrier.php +++ b/app/code/Magento/Dhl/Model/Carrier.php @@ -2478,8 +2478,8 @@ protected function _parseXmlTrackingResponse($trackings, $response) } $shipmentInfo = $awbinfo->ShipmentInfo; - if ($shipmentInfo->ShipmentDesc) { - $awbinfoData['service'] = (string)$shipmentInfo->ShipmentDesc; + if ($shipmentInfo->GlobalProductCode) { + $awbinfoData['service'] = $this->getDhlProductTitle((string)$shipmentInfo->GlobalProductCode); } $awbinfoData['weight'] = (string)$shipmentInfo->Weight . ' ' . (string)$shipmentInfo->WeightUnit;