Skip to content

DHL Carrier Wrong Service Type Variable Displayed in Tracking Popup #40323

@nicolasddev

Description

@nicolasddev

Preconditions and environment

  • Magento Version 2.0.0 - 2.4.9

Steps to reproduce

  1. Configure the DHL shipping/delivery method using valid API credentials.
  2. Make sure that the "Content Type (Non Domestic)" configuration field is set to "Non documents", if applicable.
  3. Add any non-virtual product to a shopping cart.
  4. Place an order with a shipping address.
  5. Create a shipment for the order.
  6. Add a valid DHL tracking number, selecting DHL under the Carrier column.
  7. Open the shipment Tracking Information popup for the order.

Expected result

The DHL product title is displayed as the Service Type.

Actual result

The DHL shipment description is displayed as the Service Type.

Additional information

The DHL product title can be obtained by using the GlobalProductCode variable, instead of the ShipmentDesc variable, and passing it to the Magento\Dhl\Model\Carrier::getDhlProductTitle() function.

Release note

Fixed: The DHL shipment description was used as the Service Type instead of the DHL product title in the shipment Tracking Information popup.

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Type

No type

Projects

Status

Ready for Confirmation

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions