MODX EXTRA
Print Order for Commerce
Add a print order button to Commerce order dashboard
Creator: Tony Klapatch (tonyklapatch)
1.2.0-pl (24 KB) Other Versions Need help installing this extra?About Print Order for Commerce
Displays a "Print Order" button in the order detail view in the Commerce dashboard. Fully customizable template (override printorder/print.twig in your template).
Available Properties:
- order
- state
- items
- transactions
- shipments
- billing_address
- shipping_address
- config (if any system settings are configured in module settings)
- order_fields (new in v1.2.0)
- taxes (new in v1.2.0)
Information
Instructions
- Install and configure the package in Commerce -> Configuration -> Modules
- Modify the template if you'd like to customize it by creating the file printorder/print.twig in your custom Commerce theme.
- View any order and click the Print Order button at the top.
New in Print Order for Commerce 1.2.0
v1.2.0
- Pass order_fields to twig template
- Pass taxes to twig template (thanks wax100!)
v1.1.3
- Fixes issue with print window closing immediately in some recent versions of Google Chrome
v1.1.2
- Modify default template to show order reference instead of order id
v1.1.1
- Fix upgrade from v1.0 with namespace not being updated
v1.1.0
- Add new option to pass configurable system settings to the template (thanks Sander!)
- Changed namespace
v1.0.1
- Fix 500 error on draft orders
v1.0.0
- Initial release