Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Commerce order2pdf

Security covered Under active development 63 sites

Part of the Commerce ecosystem · 497 projects

This module generates PDF versions of Drupal Commerce orders using the mPDF library and Views. It allows for simple setup and provides a hashed link to download the PDF without saving it to the server.

This module aim to be simplest pdf order generation for Drupal Commerce using the mpdf pdf generation library and Views module.

Configuration

You can find configuration options at yoursite.com/admin/commerce/config/order/order2pdf.

How to use this module

  • use tokens when order token is supported
  • Send order2pdf generated (hashed) link using rules module
  • create or edit view and add order download links
  • download an order using order download tab

Multilingual support
For multilingual support add variable and i18n_variable from i18n package and enable multilingual settings at yourdomail,com/admin/config/regional/i18n/variable

Dependencies:
Libraries API
Mpdf.
Download mpdf and upload this to libraries directory.
At this moment this module needs MPDF folder to be named MPDF54 so system could find library_path/MPDF54/mpdf.php file.

How its different from commerce pdf invoice?

  1. Its not about invoices really but can be used for invoices
  2. Its much simpler to setup than Commerce pdf invoice
  3. This is the lightest and simplest Commerce pdf order creation module you can get and it doesn't require extra modules
  4. Generates link with special hash to pdf
  5. It doesn't save anything on your server

Similar functionality is also offered by Commerce billy but Commerce billy is strictly about Invoices.

Future plans:

  1. Send pdf order as email attachment

If you like this module generally but it doesn't do exactly what you need then you can hire me to create some additional features.

Drupal 9–10 · not 11

Ask your assistant about Commerce order2pdf

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Apr 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.0.0 Stable 9–10 Apr 24, 2024
8.x-1.x-dev Dev 9–10 Apr 24, 2024