{"id":309,"date":"2024-05-26T07:30:31","date_gmt":"2024-05-26T07:30:31","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2024\/05\/26\/enable-order-attachments-in-magento-2\/"},"modified":"2025-09-12T16:39:34","modified_gmt":"2025-09-12T11:09:34","slug":"enable-order-attachments-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/enable-order-attachments-in-magento-2\/","title":{"rendered":"Guide to Enable Order Attachments in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Do you want to collect files with orders in Magento 2? Learn here how to do it using the Magento 2 Order Attachments module.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Do You Need an Order Attachment Feature?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Certain types of businesses require customers to upload documents with their orders. For example, it can be a medical prescription, identity proof, or a legal document to provide eligibility for a tax exception.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In case you sell any such product or service, you must set up a system to accept documents from the customers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Enable Magento 2 Order Attachments Using Extension?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There is no in-built file upload Magento 2 feature; therefore we\u2019ll need to use a&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-extensions.html\">third-party extension<\/a>. Other possible option could be custom development \u2013 but it would take a few weeks along with extra costs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/meetanshi.com\/magento-2-order-attachment.html\">Magento 2 Order Attachment<\/a>&nbsp;by Meetanshi is a complete system that accepts and manages order file uploads. It allows customers to upload files with their orders and admins to manage them in the backend, along with email notifications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s see the step-by-step process for order attachments in Magento 2.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Install Magento 2 Order Attachment Extension<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, download the zip file of Order Attachment extension for your store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Extract the zip to the root folder of Magento 2 installation via FTP. Then, run the following commands one-by-one:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento setup:upgrade<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento setup:static-content:deploy \u2013f<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:flush<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now, you\u2019ve successfully installed the Magento 2 extension for order upload functionality.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Enable &amp; Configure Order Attachments<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Go to&nbsp;<strong>Stores &gt; Configuration &gt; Order Attachment<\/strong>&nbsp;to configure the extension.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the&nbsp;<strong>Configuration<\/strong>&nbsp;panel, enable the order attachment in Magento 2 and specify the directory path to store the order attachment files. You can also define the file extensions to accept and the maximum size of attachment.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/05\/1-configure-order-attachment-extension-700x391-1.png\" alt=\"Configuration\" class=\"wp-image-48628\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Now, move to <strong>General Settings<\/strong> to customize the order attachments functionality. Here, you can select customer groups for the order upload functionality and toggle other features like adding attachments to existing orders, attachment deletion, admin notifications, and comments.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/05\/1-configure-order-attachment-extension-700x391-1-1.png\" alt=\" General Settings\" class=\"wp-image-48629\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Now, move to&nbsp;<strong>General Settings<\/strong>&nbsp;to customize the order attachments functionality. Here, you can select customer groups for the order upload functionality and toggle other features like adding attachments to existing orders, attachment deletion, admin notifications, and comments.<br><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/05\/2-general-settings-for-magento-2-order-attachments-700x527-1.png\" alt=\"General Settings\" class=\"wp-image-48631\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Once the setup configuration is done, click the&nbsp;<strong>Save<\/strong>&nbsp;button.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Set up Email Notifications (Optional)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To keep the store manager informed about the file attachments in Magento 2, you can set up email notifications. Go to&nbsp;<strong>Email Settings<\/strong>&nbsp;to enable the notifications and customize them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, you can set admin name &amp; email, choose a template, and add attachments to emails.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/05\/3-email-notifications-for-magento-2-order-attachments.png\" alt=\"Set up Email Notifications\" class=\"wp-image-48632\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Configure the notification settings as per your preferences and click \u201c<strong>Save<\/strong>.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it \u2013 you\u2019ve successfully enabled order file upload in Magento 2 store. The customers can now upload a file during the checkout via a drag and drop editor and also leave comments (if enabled.)<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/05\/4-order-attachment-feature-for-magento2-700x324-1.png\" alt=\"Apply discount code\" class=\"wp-image-48637\" style=\"width:840px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">They can also view, delete, and re-upload order attachments from their my account sections for previous orders. In the backend, the store manager or admin can see the order attachments for each order in a separate grid.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The admin can also attach a file to the order with comments for the customers. It enables a two-way communication between the customer and the store manager through file uploads.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/05\/5-order-attachments-in-magento-2-backend-700x307-1.png\" alt=\"order attachments\" class=\"wp-image-48638\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><div class=\"meetanshi-cta\">\r\n<div class=\"cta-content-wrapper\">\r\n<span>Magento 2 Order Attachment<\/span>\r\n<p>Display an Upload File feature on the checkout page to get required customer info.<\/p>\r\n<a href=\"https:\/\/meetanshi.com\/magento-2-order-attachment.html\" target=\"_blank\" class=\"btn-primary\">Display Today<\/a>\r\n<\/div>\r\n<div class=\"cta-image-new\">\r\n<img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/11\/magento-2-order-attachment.png\" alt=\"Magento 2 Order Attachment\">\r\n<\/div>\r\n<\/div><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Explore the File Upload Solution Today<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the tutorial above, we covered an easy way to enable order attachments in Magento 2 using extension. You can use the method to accept any type of files with orders in your M2 store. It takes less than 10 minutes to configure.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, it\u2019s your turn to try this method and start accepting file attachments in your store.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to collect files with orders in Magento 2? Learn here how to do it using the Magento 2 Order Attachments module. Why&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-309","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=309"}],"version-history":[{"count":6,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/309\/revisions"}],"predecessor-version":[{"id":21812,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/309\/revisions\/21812"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}