Magento 2 accepted an attachment at checkout. Why is it missing from the order?

2 min read

A silver file with a mint corner between a cart and a locked order folder

If checkout confirms the upload, note the file name, size and test time. Trace the file’s cart association, order association and visibility for the staff member.

Compare the cart and order from the same test

In Kowal Order Attachment 1.0.11, the upload record links the file to the cart through quote_id. After order creation, the module tries to move the file and save order_id. Compare the order’s cart ID with the one in the attachment record. The Admin list can also include a temporary file from the matching cart, so check both IDs and whether the file is available. Kowal Order Attachment. Module documentation.

Check whether the attachment is visible in Admin

The local test started with a sample upload record and JPEG. The list was empty for an order from another cart. For the matching cart, the module moved the file with identical content. Turning off the section or using a role without permission produced an empty list for the same order.

Local trace for sample.jpg
Stage or caseCart IDOrder IDFiles listed in Admin
Upload record41——
Order from another cart425020
Moved, with permission415011
Role lacks attachment access415010
Section disabled415010

Open the test order in Sales → Orders. Check Show Attachments in Admin Order View for its store view and the role’s View Order Attachments permission. From an authorized account, compare the downloaded file with the original. If the association is correct and download fails, check whether the file exists and review the transfer log. Adobe Commerce user roles.

For field visibility and file requirements, see the earlier order attachment guide.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)