Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: MCP Sentinel 2.29.0 — Minor update available for module mcp_sentinel (2.29.0). Release: Audit Chain 1.10.9 — Minor update available for module audit_chain (1.10.9). Release: Menu Autopilot 1.4.7 — Minor update available for module menu_autopilot (1.4.7). Release: FileGate 1.11.3 — Minor update available for module file_gate (1.11.3). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Commerce order2pdf

Security covered

Part of the Commerce ecosystem · 355 projects

View on drupal.org

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

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 Release date
2.0.0 Stable Apr 24, 2024
8.x-1.x-dev Dev Apr 24, 2024