Joomla! extensions done right
Reliable software, pro support, regular updates
ccVAOM has the ability to create a set of different documents to help you manage your Virtuemart orders.
- Order - a PDF of the familiar Virtuemart order
- Invoice - a PDF of the Virtuemart order with extra information, turning it into an invoice
- Combined orders and invoices PDF - a batch file of orders and corresponding invoices
- Address labels CSV - customer address information for import into DYMO (or other) label printer software
- Order/invoice export CSV - export of order/invoice information for import into accounting or other software
- Packing slip - a PDF of the Virtuemart order without certain information so it can be used as packing slip
- Order list - a PDF list of all (selected) orders
It is possible to modify the one of the templates used in ccVAOM, for example to add some mandatory information for your country. This can easily be done with the help of the Joomla! WYSIWYG editor. To do this login to the Joomla! administrator, then go to Components > ccVAOM > Templates. There, select your template and modify and save. On the right of the template edit view, when applicable, there will be a box containing all possible template tags (which will be converted to actual information when the document is created) and PDF settings.
Template sections (ccVAOM 3+)
The order, invoice, packing slip and order list templates have three sections. The main goal of these sections is to make templates function more consistently when they consist of multiple pages, for example an invoice with 30 products. Using different sections also improves alignment of items (or products) with a lot of information, like a product description.
- template header: this section is repeated identically on all pages (except for variables like order number).
- template items: this section is also repeated but can show different items (or products) per page. Data like the order item name should be added in this section.
- template footer: this section is repeated identically on all pages.
Your template modifications will not be lost when uninstalling or upgrading ccVAOM.
PDF settings can be used to change general document properties like orientation and margins.
One important note: only use the "Arial unicode" font when your language is Japanese or any other language that requires it. Using "Arial Unicode" for English, Dutch etc will cause issues with PDF readers that do not have the Japanese font pack installed.
HTML and CSS in templates
When styling a PDF document you can not use all HTML and CSS functions. This is limited by third-party PDF libraries. A PDF library converts HTML/CSS output to PDF, and unfortunately PDF libraries do not support as much CSS functions as browsers (Firefox, Chrome etc) do. Therefor, when using HTML and CSS to style a template in our extensions, try not to use advanced CSS functions. The only way to be sure what is and is not supported is by trial and error.
We already use the best PDF library in our extensions (TCPDF), and we will keep it up to date so even more CSS functions become available gradually.
Below is a zip file containing all current default templates in ccVAOM. Every template is added as a .html file with the template code. This can be used when you want to revert back to the default template, or when you are upgrading from a previous version and want to know what changes have been made in the default templates compared to your customized templates.
Download default templates of ccVAOM 2.x: ccVAOM_templates.zip
Download default templates of ccVAOM 3.x: ccVAOM_3_templates.zip