Back to Top

WordPress WooCommerce Medical Prescription Attachment Plugin(Order Attachment)

Updated 21 November 2025

WordPress WooCommerce Order Attachment plugin helps customers to buy medicines from an online pharma shop by uploading a prescription for the medicines.

File attachments are useful for uploading a doctor’s prescription for buying medicines, vaccines, or other types of drug products online.

Furthermore, the admin can choose products that can be bought only after uploading a prescription and the ones that don’t need any prescription.

The admin can easily check the prescription and then approve or disapprove the prescription/order as required.

Note: the types of files supported for uploading a prescription/attachment are jpg, png, jpeg, doc, docx, and pdf.

Start your headless eCommerce
now.
Find out More

Note: This plugin is now compatible with WooCommerce’s latest High-Performance Order Storage (HPOS) and Cart and Checkout block.

We provide a production version of the plugin. If you want a development version then you can get it at an additional cost. Please contact [email protected] for it. 

Check the plugin in action at the storefront along with the setup as in the video mentioned below –

-v0Il2uY3Wk

Features

The Admin:

  • Allow customers to buy medicine only when they have a doctor’s prescription.
  • Pending, Approved, and Rejected the Uploaded prescription attachment by the user.
  • See a complete list of orders placed for the prescription type of products.
  • Set up the prescription heading and the content that is visible to the users at the front end.
  • Enable or disable the prescription section for the products as required.
  • View the prescriptions uploaded by the customers.
  • All of the created prescription products are visible under a separate section.
  • Can set which products can be bought only after uploading a prescription and the ones that don’t require one.
  • Once a prescription is rejected, the admin can allow the customer to upload a new prescription.

Customers:

  • Can easily upload their doctor’s prescription and buy medicine online.
  • Can upload the prescription even after placing the order.
  • The customer will be notified via email when the admin updates the prescription status.
  • Guest users will need to attach the prescription at the time of placing the order.

Module Installation –

For installing the extension, follow the points mentioned below:

1: Log in to WordPress Admin Panel and navigate through ‘Plugins-> Add New Plugin‘.

add-new-plugin

2Click on the ‘Upload Plugin‘ button on the top of your page to upload the zip file.

add-new-pligin

3: Now, tap the ‘Choose File‘ button to browse for the zip file.

add-plugin
Choose File

4: After selecting the zip file, tap the ‘Install Now‘ button to install the plugin.

medical-prescription-for-woocommerce-plugin
Install Now

5: After successful installation, a success message is visible along with an option to ‘activate‘ the plugin. Tap on ‘Activate Plugin‘ to activate the installed plugin.


medical-prescription-for-woocommerce-activation
Plugin Installed

Module Activation:

Check out how to activate WooCommerce plugin through the purchase code and get updates on Webkul Modules directly on the Plugins page

Module Configuration – Settings

After the successful installation of the WordPress WooCommerce Order Attachment plugin.

Settings

The admin can easily configure the module configuration settings by navigating through WooCommerce Prescription ->Settings.

webkul-woocommerce-medical-prescription-configuration

Here, the admin has to set the WooCommerce Prescription Settings by enable/disable the –

  • WooCommerce Medical Prescription Attachment.
  • Admin can input the categories for which medical prescription is mandatory.
  • The medical prescription attachment for the order for customers.
  • Field to set the number of files that can be uploaded as medical prescription.
  • Reupload the medical prescription attachment if it is rejected for the order for customers.
  • Adding order notes on the change of the medical prescription status for the order.
  • The email notifications that are going to be sent to admin regarding uploaded prescriptions by the customer on the order.
  • The email notifications that are going to be sent to customers regarding approval of uploaded medical prescriptions are done by the admin on the order.
productstabwkwc-pa-configurationsnapshots

Tapping the heading brings a pop-up with the description set up for fields.

  • Informing customers that they need to upload a valid prescription for making a checkout.
  • The admin can change the background color of the cart page heading.
  • The admin can change the color of the text in the cart page heading.
  • Set the display positions of the product page label on the product page, and category page.
  • Also, set the position of the prescription attachment on the cart page, checkout page, and order page.

This is how the admin set heading and prescription content gets visible to the customers within the cart.

Lastly, tap on the Save Changes button to save the set prescription setting, information, and display positions.

WooCommerce Prescription

Under this extension, the store owner can easily check the products that have been marked as prescription products.

Further, the admin can set up the option to enable/disable the prescription attachment for the products.

wpdemo.webkul.com_woocommerce-prescription-103-80-65-178_wp-admin_admin.php_pagewkwc-pa-productssnapshots

Admin can also edit the product by tapping on Edit Product button. It is displayed as per image below,

edit product

Enable/Disable – Prescription Products

To do so, select the products and then from the drop-down option choose Enable Prescription or Disable prescription as required.

Screenshot-from-2023-09-26-17-28-50

Apart from that, the admin can also edit any of the products by tapping the Edit button for the respective product.

Screenshot-from-2023-09-26-17-32-06

Orders – WooCommerce Order Attachment

Under this section, the admin will find all the prescription attached pharma products that the customers have placed the orders for.

The admin can see the details for the order which include –

Order(No. and Customer Name), Date(date when order placed), Status of the order, Prescription Status, and the total(order amount).

wpdemo.webkul.com_woocommerce-prescription-103-80-65-178_wp-admin_admin.php_pagewkwc-pa-productstabwkwc-pa-orderssnapshots

The order status can be the following as shown in the below screenshots.

order-status

The Prescription Status can be Pending, Approved, and Rejected as shown in the below snapshot.

Prescription Status

Moreover, the admin can also tap on the link under the Orders column to open the details of a particular order.

Customer flow

Placing an Order with a File Attachment

At the pharma retail store frontend (Shop page), the customers can find all of the available medicines as products for purchase.

shop-page
Shop Page with all Medicines

After tapping a product that the user wants to purchase online, the details of the same are visible to the user.

Here, the user can see a “Requires Prescription” note on the product and the same is required to be uploaded for purchasing the product.

product-page

Now, the user can select the options if any for the medicine and then add it to the cart by tapping the ‘ Add to Cart ‘ button.

Within the cart, the customer can see the 2 options for attaching the prescription –

  • Attach Later
  • Attach Now

The customer can choose to attach the prescription right now or at a later point in time.

After choosing the option to attach now, the customer needs to upload the prescription image file by tapping on the Attach Prescription button.

webkul-woocommerce-medical-prescription-cart-page

Supported file types for uploading a Prescription file are jpg, png, jpeg, doc, docx, and pdf.

Thereafter, the customer can see the uploaded prescription file and can also remove the file by tapping the remove button just below the uploaded document file.

Once the customer uploads the prescription file from the cart page, the attachment will automatically appear on the Checkout page as well. This ensures transparency and helps the customer verify the file before placing the order.

On the checkout page, the customer will be able to:

  • Preview the uploaded prescription file, such as an image or document icon.
  • Remove the file using the delete/remove icon if they want to upload a different file.
  • Re-upload the prescription immediately from the same section if required.
webkul-woocommerce-medical-prescription-checkout-page

After reviewing the prescription file on the checkout page, the customer can proceed to place the order.
Once the customer taps Place Order, the system automatically redirect to the thank you page. The prescription status is set to Pending, indicating that the admin must review the uploaded document. The system also sends the standard WooCommerce order confirmation email to the customer.

order-placed

If the customer chooses the Attach Later option instead of uploading the prescription immediately, the order is still created. However, the prescription status on the order will show “ATTACHMENT PENDING”, prompting the customer to upload the required document from their Order Details page.

Attaching the Prescription file at a later time

To do so, the customer after placing the order needs to navigate under his account panel to the Orders section.

Here, the customer can see the Prescription Approval Status as – ” Waiting for the prescription to upload ” .

view-order
Order Details Page

Now, to attach a prescription, scroll down a bit and tap the Option “Attach Prescription” .

This uploads the prescription for the order and the Prescription Approval Status gets changed to Waiting For Approval.

wpdemo.webkul.com_woocommerce-prescription-103-80-65-178_my-account_view-order_117_snapshots-4
Prescription Added At a Later Time

Admin Review of Prescription Orders

They’ll navigate to WooCommerce>Orders and from here they can view the order list and also download the prescription for the given button.

admin end order list

They can tap on any order to edit it as well. It is displayed as per the image below,

wpdemo.webkul.com_woocommerce-prescription-103-80-65-178_wp-admin_post.php_post115actioneditsnapshots

If the medical prescription got rejected, then the admin gets the status of the order in the order notes i.e. Prescription status is changed from Pending to Rejected as shown in screenshots.

The customer needs to re-upload the medical prescription.

wpdemo.webkul.com_woocommerce-prescription-103-80-65-178_wp-admin_post.php_post115actioneditsnapshots-1

Approve/Reject Uploaded Prescription File

To approve/Reject the uploaded prescription, the admin will navigate through WooCommerce Prescription->Orders.

After that, under the Order column tap on the order number or the customer name and this displays the order’s details.

wpdemo.webkul.com_woocommerce-prescription-103-80-65-178_wp-admin_post.php_post115actioneditsnapshots-3

Here, the admin can see the Prescription(s) text along with an image and below that, the option “Select Prescription Status” .

The admin can choose to approve/reject the prescription uploaded by the customer.

Screenshot-from-2023-09-26-17-53-24

After selecting the appropriate option for the prescription, the same gets reflected under the Orders section under the customer’s account panel.

wpdemo.webkul.com_woocommerce-prescription-103-80-65-178_my-account_view-order_115_snapshots

However, if the prescription status is set as Rejected, then the customer can again re-upload a prescription file by tapping the Attach Prescription button.

resubmit-attachment-new


Now, after the admin has approved the customer’s uploaded order prescription from the admin backend the status gets changed from Pending to Approved.

As you can see the prescription status is changed from pending to approved in the order notes.

wpdemo.webkul.com_woocommerce-prescription-103-80-65-178_wp-admin_post.php_post117actioneditsnapshots-2

When the admin updates the prescription status, the system sends an email notification to the customer.

unnamed-file-1

lastly, the customer can see the Prescription Approval Status changed to Approved.

wpdemo.webkul.com_woocommerce-prescription-103-80-65-178_my-account_view-order_117_snapshots-9

Guest Checkout in WooCommerce Order Attachment

The guests can add the product into the cart and can navigate to the checkout page thereafter.

webkul-woocommerce-medical-prescription-guest-cart-page

And before placing the order,the guest has selected the option Attach Now without adding the attachment the customer will not be able to place order to complete the Order.

If a guest user selects the option Attach Now, then they may also upload the prescription like registered customers. 

Support

Dear Customers, that was much for the WordPress WooCommerce Order Attachment plugin.

For any question/query, please raise a ticket at our WooCommerce Helpdesk system.

We are always happy to help you out. You can also get back to us at [email protected]

Current Product Version - 1.3.0

Supported Framework Version - WordPress version : 6..x.x, WooCommerce version : 10.x.x

Blog Version - WordPress version : 6..x.x, WooCommerce version : 10.x.x
  • Version WordPress version : 6.7.1, WooCommerce version : 9.5.2
  • Version WordPress version : 6.5.4, WooCommerce version : 8.9.3
  • Version WordPress version : 6.4, WooCommerce version : 8.2
  • Version WordPress version : 6.3.1, WooCommerce version : 8.1.1
  • Version WordPress version : 6.0.1, WooCommerce version : 6.7.1
  • Version WordPress version : 6..x.x, WooCommerce version : 10.x.x
  • Version WordPress version : 5.8, WooCommerce version : 5.9
  • Version WooCommerce - 4.8.x, WordPress - 5.6.x
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


9 comments

  • Belkis Koers
  • Anand patel
    • Subhangi (Moderator)
  • Don
    • Goldy Bhargava (Moderator)
  • Shankar
    • Subhangi (Moderator)
  • Vinoth
    • Archana Tiwari (Moderator)
  • Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    WordPress WooCommerce Medical Prescription Attachment Plugin(Order Attachment)