Invoice  PDF  Generator

Invoice PDF Generator
M2

TOTAL:
$0.00
Compatible With: Community 2.1, 2.2

Tech Specifications

Seller:
Current Version:
1.2.2
Type:
Stable Build
Updated:
26 December, 2017
Categories:
Extensions, Sales
License Type:
Apache License 2.0
Policy:

Overview

The PDF generator allows you to create templates for the invoice PDF. You can add variables and customize the template 100%. 

Overview

Back to top

By using EaDesign Invoice PDF Generator, the user can download customized PDF printouts. The store owner can use the template system from our extension to customize the PDF print outs in the same way he can customize the email templates from the transactional emails. The biggest benefit of the PDF templates is the fact that you can choose the store the template is for. This system allows the store owner to personalize the invoice PDF printouts for each store. 

For example let's say you have a fashion store and a B2B store on the same installation. You will be able to make the invoice PDF printouts nice, with images and a lot of details for the normal store and very simple with SKU, prices, taxes and very narrow lines as they have a very large number of products per order. Also if the store owners marketing team wants to use different colors,fonts or layouts in the invoice printouts this can be accomplished very simple. You just need to know HTML and CSS to modify the look of your invoice PDF.

To use the system fast, you can load the body of the template from email templates under marketing in the "Template body" area in the PDF template and save. You need to set the template as enable and default for the store you desire. (remove the "body" tag from the email template before you paste the code).

How to start to use the PDF generator

Add a new template from the "Add new template" button. This will prompt you with a set of fields. 

  1. Enable template - you need to enable the template in order to use it;
  2. Default template - make the template as default for the current store;
  3. Template name - this is for your own information as well as the template description;
  4. Template for website - here you select the website you need the template for;
  5. The template body, header and footer is where you can add the html that will be transformed into the PDF body;
  6. The template CSS filed allows you to create styles for the html like "h1 {color:red;} h2 {color:blue}", do not use the style tag, it is not need. In the body you can also specify html like in the email templates;
  7. The template settings are used to shape the template as you need. The "Template file name" can be made from variables as long as they are ok for file naming {{var invoice.increment_id}}-{{var invoice.id}}-file-invoice. The "Template paper orientation" is used to set the pdf as landscape or portrait.  If you chose to use the custom format the "Custom height" and "Custom width" in millimeters will be used. The paper orientation and the "Template paper format" will be ignored in this case. If the template has standard format the "Template paper format" will allow you to set the paper in a few formats (A4,A5,A3,Letter and Legal). The other settings are the margins (in millimeters) for the top, right, left and bottom. If the header or footer overlaps over your body increase the top and bottom margins to fix this. 

The extension will allow you to harness all the power of the email template system and more. You can add phtml files to your template for very advanced configurations ({Error in template processing} and {Error in template processing}).  You can add your own item processing layout so you can output taxes item prices as you want ({{layout area="frontend" handle="sales_email_order_invoice_items" invoice=$invoice order=$order}}).

You can also localize your template using the trans directive. {{trans "Thank you for your order from %store_name." store_name=$store.getFrontendName()}}{{trans "Once your package ships we will send you a tracking number."}}

Using the extension you are able to change the invoice PDF as you desire. The PDF Generator has multiple features as follows:

  1. change the Magento invoice PDF to meet your needs;
  2. add custom CSS to your template to further personalize the PDF;
  3. add templates for each store with different design and features;
  4. change the file name of the PDF file using variables;
  5. you can send the invoice as PDF attachment to the invoice mail;
  6. you can disable enable the PDF from the system configuration area.

The extension

  • is 100% open source;
  • easy to install;
  • has very clean readable code;
  • has a very simple and usable interface.

The demo

The demo will contain 10 pdf templates. The first 2 are for invoices for the free version. 

Frontend:

Backend: 

 

 

Release Notes

Back to top

1.2.2:

  • Compatible with CE: 2.1 2.2
  • Stability: Stable Build
  • Description:

    Changes:
    * changed the mpdf library to the current version;
    * changed the helpers to use the new library.

1.0.27:

  • Compatible with CE: 2.1
  • Stability: Stable Build
  • Description:

    Added a fix for table verification and other improvements.

Support

Back to top
The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Q & A

Back to top

Reviews

Back to top