Shipping labels creation known issue in Adobe Commerce 2.4.0

This article provides a patch for a known Adobe Commerce 2.4.0 issue, where a shipping label cannot be created.

Affected products and versions

  • Adobe Commerce on-premises 2.4.0
  • Adobe Commerce on cloud infrastructure 2.4.0

Issue

Prerequisites: create an order using FedEx, DHL, UPS, or USPS shipping method.

Scenario 1: Create a label when adding a shipment

Steps to reproduce:

  1. Open the placed order in the Admin, under Sales > Orders.
  2. Click the Ship button. The New Shipment page opens.

Expected result:

The Create Shipping Label checkbox is displayed in the bottom of the page.

Actual result:

The Create Shipping Label checkbox is not displayed.

Scenario 2: Create a label for existing shipment

Steps to reproduce:

  1. Open the placed order in the Admin, under Sales > Orders.
  2. Click the Ship button. The New Shipment page opens.
  3. Click the Submit Shipment button. A shipment is created.
  4. Open the newly created shipment.
  5. Click the Create Shipping Label button. The Create Packages dialog opens.

Expected result:

The Add Products to Package button on the Create Packages modal window displays fields with order items.

Actual result:

The Create Packages modal window is not displayed properly, it is not possible to add order items to the shipment.

Solution

Apply the patch provided in this article.

Patch

The patch is attached to this article. To download it, scroll down to the end of the article and click the file name, or click the following link:

MC-35514-2.4.0-CE-composer-2.patch

The patch is also available for download in both, .git and .composer, formats on Adobe Commerce Downloads page, under Patches in the left column navigation. Search for MC-35514 patch.

Compatible Adobe Commerce versions:

The patch was created for:

  • Adobe Commerce on cloud infrastructure version 2.4.0
  • Adobe Commerce on-premises version 2.4.0

How to apply the patch

See How to apply a composer patch provided by Adobe for instructions.

Attached Files

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a