ACP2E-4630: Long product names overlap adjacent columns in multi-page sales PDFs after page breaks

The ACP2E-4630 patch fixes the issue where long product names with custom options overlap adjacent columns or items in multi-page Invoice, Shipment, Credit Memo, and Return PDFs after page breaks, making line items unreadable. This patch is available when the Quality Patches Tool (QPT) 1.1.81 is installed. The patch ID is ACP2E-4630. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.8-p3

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.7 - 2.4.8-p5
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Long product names with custom options overlap adjacent columns or items in multi-page Invoice, Shipment, Credit Memo, and Return PDFs after page breaks, making line items unreadable.

Steps to reproduce:

  1. Place a few orders from the storefront with 20 or more items, including products with long names and custom options.
  2. In the Admin sidebar, go to Sales > Orders. Open an order and create the related Invoice, Shipment, Credit Memo, and Return.
  3. Generate the Invoice, Shipment, Credit Memo, and Return PDFs from their respective pages.
  4. Open the generated PDFs and review all the pages.

Expected results:

  1. No text overlaps in the PDF documents.
  2. Product Names, SKUs, Quantities, Prices, and Custom options are displayed clearly across all pages.

Actual results:

  1. Product Names and Custom options overlap with the SKU, Quantity, and Price columns on pages after the first page.
  2. Line items become unreadable because the row height is calculated incorrectly after page breaks.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
commerce-operations-help-tools