Android, SOA, Security and Web Application Consultancy

Fix for the Konakart invoice printing problem

The release of the Konakart e-commerce product currently does not allow printing of invoices and package slips. The following is a solution to the problem until it is properly resolved by the guys at Konakart


The fix consists of downloading and installing two JavaScript files and then modiying the Velocity templates for the reports.


These are the scripts you need, download them, create a /js folder under the Web root and put the files in there.:

  • The JQuery script is available here. (you either need to rename it as jquery.js or change the first script tag to reference your file name).
  • The admin_print_button.js script is here

Template Changes

You need to modify the Velocity templates (OrderInvoice_en.vm and OrderPackingList_en.vm) found at <ADMIN_ROOT>/WEB-INF/classes to include the following lines:

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/admin_print_button.js" ></script>

I recommend you put them immediately prior to the closing </body> tag.


You can contact me at support@webwrights.co.uk

© Web Wright Ltd