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.

Project information

Releases