Table of Contents
View Magento 2 PDF Invoice Extension Detail Page for Features and Demo
Documentation for PDF invoice
Preference
- Mageants PDF Invoice is a perfect extension for the store owners who wants to customize or redesign order print, invoice print, shipment print & credit memo print. It allows you customize complete design of body with custom variables, order variables, shipment variables, credit memo variables, invoice variables as well as configuration variables.
- Enable / Disable PDF Template.
- You can create separate PDF template for each store.
- You can create different design for order, shipment, invoice, creditmemo in same template.
- Allows you to put custom variables, order variables, shipment variables, credit memo variables, invoice variables as well as configuration variables.
- Allows you to see preview.
- Allows you to select installed invoice template by default.
- Allows you to send attachment with Order, Invoice, Shipment & Credit memo email.
- Allows you to disable core printing links.
- Compatible with multi language and rtl – ltr scripts.
- Allows you to write your company details from configuration.
- Allows you to put barcode inside PDF with dynamic horizontal and vertical positions.
- Allows you to change fonts according to your need.
- You can also see print invoice, order, shipment and credit memo in customer account at front-end side.
- You can print invoice, shipment, credit memo, order from order grid as well as from respective grids.
Installation
There are two ways of installing extension in magento2.
- Using COMMAND LINE.
- Manually Install extension.
Option 1: Magento 2 install extension using COMMAND LINE (Recommended)
Follow below steps to install extension from the command line.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory. If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management.
Step 4: Enter the following at the command line:
Php bin/magento setup:upgrade
Php bin/magento setup:static-content:deploy
Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants → pdf invoice, the module will be displayed in the admin panel.
Step 6: For Magento 2.3 And Above Version Please install MPDF library using below command:
- composer require mpdf/mpdf
Option 2: Magento 2 install extension manually
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management Edit app/etc/config.php file and add one line code: ‘Mageants_pdf invoice’ ⇒ 1
Step 4: Disable the cache under System → Cache Management
Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants → pdf invoice, the module will be displayed in the admin panel.
Step 6: For Magento 2.3 And Above Version Please install MPDF library using below command:
- composer require mpdf/mpdf
Backend Example
After Installation of Extension login to magento admin panel to set configuration of the extension.
Extension configuration
PDF Invoice Template management menu
Store → Configuration → Mageants → PDF Invoice
Menu
To manage contact messages Please go to Sales → PDF Invoice → PDF Template there you can manage all store PDF templates. You can create ,edit or delete PDF Template from here,
Pdf template grid
Pdf template add / edit
Invoice Design
Shipment design
Credit memo design
Insert variables
Printing from sales grid
Order view
Invoice view
Shipment view
Credit memo view
Frontend Example
Print order
Print invoice
Print shipment
Print credit memo