Firegento_Pdf – Beautiful and Customizable PDFs For Your Magento Store

Sep
3
2014

The following article is written by Simon Sprankel, thanks to him as one of the main contributor to Firegento_Pdf.

Firegento_Pdf is, like FireGento_MageSetup, a free community module for Magento. It replaces the ugly standard Magento PDF templates with a fresh, new template optimised for the German market. Let us first have a look at the ugly standard Magento PDF template:magento invoice

 

The standard template provided by Firegento_Pdf looks much cleaner, nicer and is definitely clearer:

firegento

Firegento_Pdf For End Users

Though Firegento_Pdf has mainly been optimised for the German market, we believe that it can be used for any country. The information shown in the footer is taken from the imprint. If GermanSetup or MageSetup is used, the information is taken from this extension. Otherwise, the sparse information from Magento is taken. But it is possible to add imprint information with some XML code as shown in the Wiki. Firegento_Pdf provides new configuration options under System – Configuration – PDF Print-outs. Here is a non-exhaustive list of featues:

  • custom return address bar
  • optional footer with imprint information
  • logo can be shown on the left, in the middle, on the right or as a full-width logo
  • the PDF engine/template can be changed for each document (invoice, shipment, credit memo)
  • optionally print order ID and customer ID
  • optionally print a custom note which can be entered individually for each document type in the backend
  • for invoices: optionally print due date, payment method, shipping method, invoice comments
  • for invoices: possibility to show and hide columns in the order table, possibility to sort them indiviudally via drag and drop
  • for shipments: optionally print a bar code of the order number

Firegento_Pdf For Developers

First of all, Firegento_Pdf is of course also on GitHub. It comes with composer and modman support and can of course also be installed via Magento Connect. Community contribution is more than welcome – no matter if it is an issue or a pull request. Additionally, it provides three great ways to customise the PDF templates, so that any wishes can theoretically be fulfilled:

  1. It is possible to programmatically add notes to the PDF. This is documented in the Wiki. For each document type, there are different events with which notes can be added.
  2. Sometimes, people want to show something at an arbitrary, but fixed place on the document. Therefore, another event called firegento_pdf_[document_type]_edit_page is useful. It provides access to the current page object each time a new page is created. This functionality is also documented in the Wiki. By the way, this is used by the extension itself: The barcode feature is implemented using this event.
  3. Sometimes people have extensive change requests for the PDF templates. Therfore, completely new engines based on our standard engine can be written. If configured properly, they are also shown in the backend and can be selected by the end user. Have a look at the Wiki for more information.

Who is behind FireGento_Pdf?

 

Comments

  • 23. December 2014

    Hi,

    Good day.

    I am running a magento website and have market place(where multiple seller in it).

    so invoice should consist of seller address,tin and cst(that is there in their profile) and our company logo at left side.

    Kindly advise me to create the same.

    Thanks for your response in advance.

    Regards,
    Kirubakaran.R

  • 23. March 2015

    Hi,

    in both screenshots you can see, ab bug with the tax. 2,39 € and 2,40 € in the same bill can’t be right. Is there ab general bug in firegent?

    Kind regards

    Roland

    • 24. March 2015

      Good morning Roland,

      afaik we fixed all bugs on our site, so we are showing the same as magento. Unfortunately magento has still bugs regarding the tax calculation 🙁 Nothing we can fix. It is a core issue.

  • 27. October 2016

    Hi,

    Is it possible to for invoices to print due date based on a customer given attribute? for example every customer get a payment period to pay invoice (14, 21 or 30 days after creating the invoice), the idea is to make an attribute for customer with “code= pay_in” and we give it a numerical value e.g. 30. Then if this customer order something and get an invoice PDF then it will display Due date as: Creation date of invoice + attribute value.

Kommentieren

Your email address will not be published. Required fields are marked *