Shopware Order Attachments: With this module, the customer can upload the attachments in the orders while buying the products online. During the checkout process or after placing the order the customer can add the attachment(Images, PDF) in the order.
The admin can accept or deny the attached file, after that the order status will be changed automatically. The admin can view, cancel, and accept the attachments uploaded by the customer.
- Add the order attachment at the time of checkout.
- The customer can add multiple attachments at the time of placing an order.
- The customer can add/upload the order with the attachment while placing the order.
- The admin can deny or accept uploaded order attachments.
- The customer can add comments while uploading order attachments.
- The code is open-source so it can be easily customized.
- Ability to attach files along with the message, if you have any comments.
- Support the format as selected by the admin – PDF, DOC, DOCX, JPEG, JPG, PNG.
- Supports multiple file upload with a single order.
- Customers get an error message for the wrong file type upload or exceeding the size limit for order attachment.
- The admin can edit/delete the attachment from the backend.
- The admin can restrict the size of order attachment uploads and specify allowed file attachment types from the configuration.
- Attachment list attached by customer can get from the admin backend.
What is the need of Shopware Order Attachments Module?
In a general scenario, multiple times additional information needs to be attached during checkout and even after order processing to understand customer requirements completely.
Order attachment module can let customers add downloadable files and used for various use cases such as doctor’s prescription, technical description, drug products, licenses and fitness certificates on online customer’s order.
Order attachment is often used by online pharma shops which facilitate to customer buy medicine from the online shop by uploading prescription in the format as defined by admin PDF, DOC, DOCX, JPEG, JPG, PNG.
Installation Steps – By Running Commands & Manually
Customers will get a zip folder, and they have to extract the contents of this zip folder on their system.
After extracting the WebkulOrderAttachments folder, the customer needs to transfer this folder to custom > plugins on the server, as shown in the snapshot below.
After the successful transfer of the module folder, you have to run the below-mentioned commands in the Shopware root directory.
1 – Go to your Shopware installation root directory and run this command –
php bin/console plugin:install WebkulOrderAttachments
2 – To activate the plugin run this command –
php bin/console plugin:activate clearcache WebkulOrderAttachments
Manual installation from the plugin manager:
For the manual installation of the plugin follow the steps as mentioned below:
Step 1: In the Shopware Backend go to plugin manager by navigating through Settings > System > Plugins.
Step 2: My plugins page appears where all of the existing plugins are visible. Now, click onthe Upload plugin button to add a new plugin to the list.
Now, select the extracted zip folder of the plugin which has to be installed and tap the open button on the pop-up window.
Step 3: After that, the uploaded plugin will be visible within the list of plugins On My plugins page. Further, for the newly added plugin, two actions can be performed and that are: Install and Delete.
The admin will install the plugin by clicking on the Install option in the dropdown.
Once the plugin gets installed the success message will popup saying “Your plugin has been installed.”
Step 4: After the installation, the admin has to Activate the plugin by toggling the current Deactivate button to the Activated button position.
While in the process the admin can see the success message ‘Plugin has been activated‘.
After the installation process and plugin configuration if the Order Attachments icon option is not visible at the left menu grid then run this command to clear the cache:
php bin/console cache:clear
Order Attachment – Configuration
After the successful installation of the module, the admin can configure this module under “Settings > System > My Plugins > Webkul Order Attachments > Config” in the drop-down as shown below snapshot.
Tapping on config button will bring you to the order attachments configuration page. In the general setting, the admin can set the required settings for order attachment.
Saleschannel: Select the sales channel either Headless or Shop.
Allowed Supported: This module supports PDF, DOC, DOCX, JPEG, JPG, PNG format for attachment. Specify the allowed file type extensions for the attachment file.
Maximum number of file: Enter the maximum number of file can be upload from 1 to 10.
Maximum size of file: Enter maximum file size in MB “from 1 to 10 MB” for the attachment uploads.
Once you will be done, click on the save button from the top right corner as shown below.
Order Attachment – Admin Backend
After the configuration, admin can able to view order attachments option under the dashboard on the left side similar as an attached screenshot:
Enable attachment for product
Once you will click on enable attachments for the product tab it will take you to enable attachments for product page.
The admin can enable or disable order attachment functionality on new products by clicking on add product button as shown below:
Here, the admin can select the product at which you want to allow uploading the order attachment from the dropdown. The admin set attachment is required or not by switching the toggle button then save it.
If required switch toggle button towards right else don’t move it.
The admin can view all current attachment status from the list, even the admin get the option to edit and delete the existing status from the dropdown as similar below:
Once the customer places the order, the admin needs to navigate through Dashboard > Orders Attachments to view order attachment files as shown in the image below.
The admin needs to click on the view button in order to view order attachment as similar below:
The admin will have an option to see the comment and change the attachment status as Accepted or Denied.
By default, the status shows denied until it will not modify from admin. To change the status of attachment, admin needs to click on edit button from top right corner.
Click on the below-highlighted checkbox to accept the attachment file then save it.
In addition, the admin will have the option to print the attachment by clicking on print button.
Order Attachment – Customer End
If the admin set the attachment required enabled in the backend, then the customer will be able to see “Order attachment” option to comment while checkout for that particular product.
Multiple Attachment Support
The customer gets the option to attach multiple files to comments. In case uploaded file size and allowed type will not fit or number fo attachment is greater than specified, customer get the error message similar as below:
Moreover, customer can view an attached file on the ordered product in Order View under My Account section as shown below:
The attachment can be seen to customers for a particular ordered product by tapping on view button.
In addition, customer can also see the attachment status as accepted or denied after verified by admin.
Order Attachments Add
If the customers want to add an attachment after placing the order then customer have the option to attach files in Order Attachments Add tab under My Account section as shown below:
The customer will have to put order number and need to click on the Get order details button to attach the required files on placed order.
After uploading an attachment with the proper format and size, the attachment can be send and the attachment files can be seen to admin in order attachment section.
That’s all Showare Order Attachment still have any issue feel free to add a ticket and let us know your views to make the module better https://webkul.uvdesk.com/
Current Product Version - 1.0.0.
Supported Framework Version - 6.x.x