Changing Invoice template

  • Posts: 57
  • Thank you received: 2
10 years 3 months ago #166961

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3

Sorry but I was looking all day to find answer and read lots of different topics, but i couldn't find info how to edit Invoice template. Silly question - do I really need to edit code? there is no WYSIWYG editor for it?
I bought pdf invoice plugin but invoice created here is simply - very bad.
I can see in front end very nice layout of order details and what I need is to copy this layout to invoice layout generated in pdf.
Another problem is that after clicking Print Invoice in frond end and back end I can see empty pop-up box then straight dialog to display .pdf. Closing this dialog is still showing empty pop up box which should display invoice.

Thanks for help.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 3 months ago #166969

Hi,

Regarding the issue with the PDF invoice generation popup not closing on the frontend, it's something that we fixed recently:
www.hikashop.com/support/forum/orders-ma...download.html#165984

You can't just copy the layout of the non-PDF version to the PDF version because the library we use to convert the HTML to the PDF needs specific HTML and that is not compatible. That's why there is a specific PDF version, looking differently from the HTML version. If you need to modify the PDF version layout, you can edit the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php There is no wysiwyg editor for it as it's not a view of HikaShop but a file of a plugin and Joomla doesn't have any system to override these.

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 2
10 years 3 months ago #167344

Hi

Actually I have latest version with this fix already, but this solution is not working if comes to light box (preview of Invoice). Pop - up is still empty.

BTW. Shipping Invoice is working correctly. I can see preview before printing

Marcin

Last edit: 10 years 3 months ago by Marcin71.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 3 months ago #167346

Hi,

The shipping invoice button isn't handled by the PDF invoice plugin.

It's normal that the popup is empty as the PDF invoice plugin override the display of the popup.However, the different with the new version of the plugin is that it closes the popup automatically after the generation of the PDF.

Please Log in or Create an account to join the conversation.

Time to create page: 0.048 seconds
Powered by Kunena Forum