This project is not covered by Drupal’s security advisory policy.
Purpose
This module fills a gap between Commerce Invoice and Print modules.
It allows developers to create in their theme a template file to be used for and only for Drupal Commerce order invoice print pages.
How-to
After configuring both Print and Commerce Invoice modules, copy the print.tpl.php template file from print module's folder to your custom theme's folder, and rename it following patterns (by ascending preference order):
- print--invoice.tpl.php will apply to all invoice print pages
- print--invoice-[order-id].tpl.php will apply to invoice print pages for order of id [order-id]
- print--html--invoice.tpl.php will apply to all invoice print pages using HTML format (only format supported right now by this module)
- print--html--invoice-[order-id].tpl.php will apply to invoice print pages using HTML format for order of id [order-id]
The order variable is passed to the template and available under $commerce_order.
Dependencies
About
This module was developed by Alethia INC. and sponsored by The Japan Association for Language Teaching (JALT).
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.18 sites report using this module
- Created by David Stosik on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
