Customizing Virtuemart Invoice PDFs

How to customize invoices in Joomla VirtuemartThe default layout of PDF invoices in Virtuemart for Joomla can be quite ugly, however there are some quite easy ways to add simple branding and slightly more complex ways for customizing the entire layout using the standard template override system.

The simplest things to do are to customize the header and footer areas. Typically I'll add a logo or custom header banner image to make the invoice match the rest of the branding. I also like to add some contact information in the footer such as address, customer service email and phone number and perhaps VAT ID or company registration details. Adding these things is very like editing articles in Joomla and is achieved through the two content editor areas Invoice Head and Invoice footer on the Invoices/Emails tab at Virtuemart > Shop > Shop.

Should you want to further customize the invoice area you will need to edit the file(s) at /components/com_virtuemart/views/invoice/tmpl which create various parts of the invoice. The one that creates the main body of the invoice is invoice_items.php. If you're editing these files, you should use a template override in order to retain the changes after any Virtuemart updates. When editing these files and checking your changes, you will also have to delete any PDF invoices which have already been generated in order to force a new one to generate showing your adjustments. These are stored in the Virtuemart temporary files folder which you may have customized but it by default at /vmfiles/invoices



Beginning ecommerce

If you have a business which you think is suitable for selling products or services online you may already have thought about creating an ecommerce enabled website. You may even already have your product catalogue online in some form, though not necessarily in a form that lends itself easily to an ecommerce setup. Here I’m going to talk about what to look out for when considering an ecommerce implementation, how these systems are put together and how you might structure them and their connection to your existing work methods.

In the beginning was the 'brochureware' website when businesses just wanted to get some details of what they do and where they are online. As security and trust became more established the big players started selling things online and so too did the smaller players. That's one of those advantages of the Internet, you can compete a little easier, sure you still have limited resources but ecommerce is all about working smarter and not necessarily harder. Small businesses are often smarter and more flexible than the big players. So, in order to work smarter you need a system that’s fairly easy to manage on a day to day basis that is a storefront on the Internet for you.

Subscribe to this RSS feed

Enjoyed this post? Don't miss out! Connect up with us:            

Free assessment

Please type your full name.
Invalid domain name
Invalid email address.
Invalid Phone #
Invalid Captcha