A personalized product may need an image or PDF rather than a text note. Kowal Order Attachment collects one file during checkout and associates it with the order. Test both a valid purchase and rejection of unsuitable uploads.
Define the data and scope
Before changing anything, record the store view, language, theme and information source. Prepare one control example and its initial state. For other views, establish which settings should be inherited and which are deliberately overridden so the comparison uses the same context.
Prepare the configuration
In Stores → Configuration → Sales → Order Attachments configure visibility separately from whether a file is required. Defaults are disabled, selected products and a 10 MB limit. requires_order_attachment marks a qualifying product; child products are checked too. Supported extensions are jpg, jpeg, png and pdf with MIME and content checks.
Start in a test environment using the theme and buying process actually used by the store. Change one setting at a time. Record both the selected configuration scope and any inherited value so another administrator can reproduce the result.
Run a concrete scenario
Prepare a qualifying cart and one without the condition. Upload an image, remove it and upload again; checkout handles one file. Test rejection of empty or oversized files and names with multiple dots such as project.version.pdf. After purchase, authorized staff should download the file or open a supported preview without a public pub/media link.
Keep the result before and after the change. Repeat the exercise with a qualifying product and a case that should remain unaffected. For multiple store views, also check the message language and pricing context.
Check boundaries and accept the implementation
A temporary upload belongs to the quote and moves when the order is created; cron removes old temporary files. Access requires View Order Attachments and access to the order. Standard checkout includes the form component, while Hyvä, headless and alternatives need integration. Quote-submit validation also applies to other order-placement paths.
For acceptance, retain the settings, expected result, observed result and test date. Describe discrepancies with a concrete example. After release, check the same journey on a phone and after reopening the page with the cache in use.
Related stages of the process
A short instruction such as gift wrapping can remain a comment. When fulfillment requires artwork or a photo, use an attachment. These are separate fields and mechanisms; installing both does not create an automatic rule converting a note into a file. See Checkout Comment - Add an order comment in Magento 2 and the guide Magento 2 order comments: save customer instructions and reach staff.
Check features and configuration in the offering for Order Attachment for Magento 2.
