Magento 2 PDF Invoice | Userguide

Magento 2 PDF Invoice | Userguide, updated 7/5/24, 1:57 PM

Streamline your invoicing process with the MageAnts Magento 2 PDF Invoice Extension. This efficient tool allows you to generate professional, customizable PDF invoices, enhancing your store’s order management and customer communication.

Key Features:

Customizable Templates: Design and customize invoice templates to match your brand’s identity.

Automatic PDF Generation: Generate and send PDF invoices automatically upon order completion.

Bulk Actions: Manage multiple invoices with ease using bulk generation and printing features.

Multi-Language Support: Create invoices in multiple languages to cater to your global customer base.

Enhanced Professionalism: Improve your store’s professionalism and customer trust with well-formatted, clear invoices.

Upgrade your Magento 2 store with the MageAnts PDF Invoice Extension to streamline your invoicing process and enhance customer satisfaction. Simplify order management, ensure consistency, and present a polished image with customizable PDF invoices.

About MageAntsStore

MageAnts is your trusted partner of Magento Custom DevelopmentHyvä theme development solutions provider. Put your trust in us to create an online presence for you. Let us bring you into the digital age to embark on an incredible journey. Enhance your Magento store with our Magento 2 extensions & extend store functionality.

Tag Cloud



PDF invoice – Magento 2
USER MANUAL
Supported Version: 2.0, 2.1, 2.2, 2.3
www.mageants.com support@mageants.com 1
Table Of Contents
Preface.......................................……………………………………......3
Installation...................................………………………………………..4
Option 1: Magento 2 install extension using COMMAND LINE .........…………..…..4
Option 2: Magento 2 install extension manually ………………………………….......5
Backend Example ………………………………………………………...……...6

Extension configuration………………………………………………………...6
Frontend Example………………………………………………………………….19
www.mageants.com support@mageants.com 2

Preface:
- 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.
www.mageants.com support@mageants.com 3
Installation:
There are two ways of installing extension in magento2.
1) Using COMMAND LINE.
2) 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
www.mageants.com support@mageants.com 4
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
www.mageants.com support@mageants.com 5
Backend example
After Installation of Extension login to magento admin panel to set
configuration of the extension.
As per below screen shot you can set all the settings here.
Extension configuration
PDF Invoice Template management menu
Store → Configuration → Mageants → PDF Invoice
www.mageants.com support@mageants.com 6

www.mageants.com support@mageants.com 7
www.mageants.com support@mageants.com 8
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,
www.mageants.com support@mageants.com 9
Pdf template grid
Pdf template add / edit
www.mageants.com support@mageants.com 10
www.mageants.com support@mageants.com 11
www.mageants.com support@mageants.com 12
www.mageants.com support@mageants.com 13
Invoice Design
Shipment design
www.mageants.com support@mageants.com 14
Credit memo design
Insert variables
www.mageants.com support@mageants.com 15
Printing from sales grid
www.mageants.com support@mageants.com 16
Order view
Invoice view
www.mageants.com support@mageants.com 17
Shipment view
Credit memo view
www.mageants.com support@mageants.com 18
Frontend example
Print order
www.mageants.com support@mageants.com 19
Print invoice
Print shipment
www.mageants.com support@mageants.com 20
Print credit memo
www.mageants.com support@mageants.com 21
Thank you!
if you have any questions or feature suggestions, please contact us at:
https://www.mageants.com/contact-us
Your feedback is absolutely welcome!
www.mageants.com support@mageants.com 22