Post by psychosonicsid » Sat Feb 02, 2013 1:21 am

Hi all,

To get rid of the annoying  before £ I tried a solution on another forum and with a bit of trial and error found one that works for me.

Please note I am not a code bandit, so you take what you will from this and if it doesn't work then sorry.

I added the following line in between <head> tags of the order_invoice.tpl

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Dont forget to clear the cache before trying the results.
K


Posts

Joined
Tue Jan 29, 2013 12:46 am

Post by IHaveStuff » Tue Feb 05, 2013 12:27 pm

Anyone have the code to make this a email?

Newbie

Posts

Joined
Tue Dec 25, 2012 10:50 am

Post by ravidevt » Tue Feb 19, 2013 7:04 pm

SIr,

Please tell me hoto uninstall invoice-to-pdf-1.21.154.

T. Ravidev

Newbie

Posts

Joined
Sat Feb 16, 2013 2:18 am

Post by ravidevt » Tue Feb 19, 2013 7:09 pm

Sir,

Please tell me how to uninstall invoice-to-pdf-1.21.154

T. Ravidev

Newbie

Posts

Joined
Sat Feb 16, 2013 2:18 am

Post by andreimare » Wed Feb 20, 2013 2:50 am

This extension doesn't work for me. I did exactly as Readme said, did the chmod 777. There is no Downlod PDF buton showing or any error. Can I get some help? Thanks! Andy

Newbie

Posts

Joined
Wed Feb 20, 2013 2:45 am

Post by ravidevt » Wed Feb 20, 2013 9:14 am

how to uninstall?

Newbie

Posts

Joined
Sat Feb 16, 2013 2:18 am

Post by andreimare » Thu Feb 21, 2013 9:39 pm

ravidevt wrote:how to uninstall?
Do as ReadMe says and see if it works. For me it didn't work but for others did, so good luck.

Newbie

Posts

Joined
Wed Feb 20, 2013 2:45 am

Post by Pamella » Sat Mar 09, 2013 2:53 am

Well, thank you to share it ;-) it seems working on v1.5.5.1

It could be great to supply this feature to customers, from their profil account but I don't know how to do it (at this time)

OC v1.5.5.1 EN - vQmod v2.3.2 (theme by default at this time) running on PHP v5.4 MySQL v5.5 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am

Post by Sebcart » Tue Apr 16, 2013 2:28 pm

Pamella wrote:Well, thank you to share it ;-) it seems working on v1.5.5.1

It could be great to supply this feature to customers, from their profil account but I don't know how to do it (at this time)
Works for me too on 1.5.5.1 - and agree with you it would be nice if customers could download invoices from their account :)

New member

Posts

Joined
Sat Sep 08, 2012 11:25 pm

Post by nashirr » Mon May 06, 2013 9:56 am

how to add payment methode image ?

and adding product image in factur ?

Newbie

Posts

Joined
Mon Mar 04, 2013 6:55 am

Post by irmantask » Tue May 21, 2013 11:14 pm

how add pdf to email on order status change ?

Newbie

Posts

Joined
Tue May 21, 2013 10:46 pm

Post by tomatito » Fri Jun 14, 2013 1:23 pm

You must do a chmod 777 on the upload\system\library\dompdf\lib\fonts folder!
Done. When I try to print an invoice to PDF this is showing up:

Code: Select all

array ( 'sans-serif' => array ( 'normal' => DOMPDF_FONT_DIR . 'Helvetica', 'bold' => DOMPDF_FONT_DIR . 'Helvetica-Bold', 'italic' => DOMPDF_FONT_DIR . 'Helvetica-Oblique', 'bold_italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique', ), 'times' => array ( 'normal' => DOMPDF_FONT_DIR . 'Times-Roman', 'bold' => DOMPDF_FONT_DIR . 'Times-Bold', 'italic' => DOMPDF_FONT_DIR . 'Times-Italic', 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic', ), 'times-roman' => array ( 'normal' => DOMPDF_FONT_DIR . 'Times-Roman', 'bold' => DOMPDF_FONT_DIR . 'Times-Bold', 'italic' => DOMPDF_FONT_DIR . 'Times-Italic', 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic', ), 'courier' => array ( 'normal' => DOMPDF_FONT_DIR . 'Courier', 'bold' => DOMPDF_FONT_DIR . 'Courier-Bold', 'italic' => DOMPDF_FONT_DIR . 'Courier-Oblique', 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique', ), 'helvetica' => array ( 'normal' => DOMPDF_FONT_DIR . 'Helvetica', 'bold' => DOMPDF_FONT_DIR . 'Helvetica-Bold', 'italic' => DOMPDF_FONT_DIR . 'Helvetica-Oblique', 'bold_italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique', ), 'zapfdingbats' => array ( 'normal' => DOMPDF_FONT_DIR . 'ZapfDingbats', 'bold' => DOMPDF_FONT_DIR . 'ZapfDingbats', 'italic' => DOMPDF_FONT_DIR . 'ZapfDingbats', 'bold_italic' => DOMPDF_FONT_DIR . 'ZapfDingbats', ), 'serif' => array ( 'normal' => DOMPDF_FONT_DIR . 'Times-Roman', 'bold' => DOMPDF_FONT_DIR . 'Times-Bold', 'italic' => DOMPDF_FONT_DIR . 'Times-Italic', 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic', ), 'monospace' => array ( 'normal' => DOMPDF_FONT_DIR . 'Courier', 'bold' => DOMPDF_FONT_DIR . 'Courier-Bold', 'italic' => DOMPDF_FONT_DIR . 'Courier-Oblique', 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique', ), 'fixed' => array ( 'normal' => DOMPDF_FONT_DIR . 'Courier', 'bold' => DOMPDF_FONT_DIR . 'Courier-Bold', 'italic' => DOMPDF_FONT_DIR . 'Courier-Oblique', 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique', ), // 'arial' => // array ( // 'normal' => DOMPDF_FONT_DIR . 'Arial', // 'bold' => DOMPDF_FONT_DIR . 'Arial_Bold', // 'italic' => DOMPDF_FONT_DIR . 'Arial_Italic', // 'bold_italic' => DOMPDF_FONT_DIR . 'Arial_Bold_Italic', // ), // 'comic sans' => // array ( // 'normal' => DOMPDF_FONT_DIR . 'Comic_Sans_MS.ttf', // 'bold' => DOMPDF_FONT_DIR . 'Comic_Sans_MS_Bold.ttf', // 'italic' => DOMPDF_FONT_DIR . 'Comic_Sans_MS.ttf', // 'bold_italic' => DOMPDF_FONT_DIR . 'Comic_Sans_MS.ttf', // ), // 'georgia' => // array ( // 'normal' => DOMPDF_FONT_DIR . 'Georgia', // 'bold' => DOMPDF_FONT_DIR . 'Georgia_Bold', // 'italic' => DOMPDF_FONT_DIR . 'Georgia_Italic', // 'bold_italic' => DOMPDF_FONT_DIR . 'Georgia_Bold_Italic', // ), // 'lucida console' => // array ( // 'normal' => DOMPDF_FONT_DIR . 'lucon', // 'bold' => DOMPDF_FONT_DIR . 'lucon', // 'italic' => DOMPDF_FONT_DIR . 'lucon', // 'bold_italic' => DOMPDF_FONT_DIR . 'lucon', // ), // 'times new roman' => // array ( // 'normal' => DOMPDF_FONT_DIR . 'Times_New_Roman', // 'bold' => DOMPDF_FONT_DIR . 'Times_New_Roman_Bold', // 'italic' => DOMPDF_FONT_DIR . 'Times_New_Roman_Italic', // 'bold_italic' => DOMPDF_FONT_DIR . 'Times_New_Roman_Bold_Italic', // ), // 'trebuchet' => // array ( // 'normal' => DOMPDF_FONT_DIR . 'Trebuchet_MS', // 'bold' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Bold', // 'italic' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Italic', // 'bold_italic' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Bold_Italic', // ), // 'trebuchet ms' => // array ( // 'normal' => DOMPDF_FONT_DIR . 'Trebuchet_MS', // 'bold' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Bold', // 'italic' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Italic', // 'bold_italic' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Bold_Italic', // ), // 'silkscreen' => // array ( // 'normal' => DOMPDF_FONT_DIR . 'slkscr', // 'bold' => DOMPDF_FONT_DIR . 'slkscrb', // 'italic' => DOMPDF_FONT_DIR . 'slkscr', // 'bold_italic' => DOMPDF_FONT_DIR . 'slkscr', // ), // 'silkscreen expanded' => // array ( // 'normal' => DOMPDF_FONT_DIR . 'slkscre', // 'bold' => DOMPDF_FONT_DIR . 'slkscreb', // 'italic' => DOMPDF_FONT_DIR . 'slkscre', // 'bold_italic' => DOMPDF_FONT_DIR . 'slkscre', // ), // 'verdana' => // array ( // 'normal' => DOMPDF_FONT_DIR . 'Verdana', // 'bold' => DOMPDF_FONT_DIR . 'Verdana_Bold', // 'italic' => DOMPDF_FONT_DIR . 'Verdana_Italic', // 'bold_italic' => DOMPDF_FONT_DIR . 'Verdana_Bold_Italic', // ), )
I have no VQmod errors (checked).

Any a assistance/help would be great. Thanks in advance.

Active Member

Posts

Joined
Sat Oct 13, 2012 4:15 am

Post by pprmkr » Fri Jun 14, 2013 2:15 pm

First add to invoice-to-pdf-1.21.154.xml :

Code: Select all

	<file name="admin/language/dutch/dutch.php">
		<operation>
			<search position="after"><![CDATA[// Button]]></search>
			<add><![CDATA[$_['button_pdf_invoice']	= 'Download PDF factuur';]]></add>
		</operation>
	</file>
Repeat for all languages installed.

User avatar
Active Member
Online

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by tomatito » Sat Jun 15, 2013 12:02 pm

Thanks :)

Modification:

Code: Select all

<modification>
	<id><![CDATA[Invoice to PDF]]></id>
	<version><![CDATA[1.21.154]]></version>
	<vqmver><![CDATA[1.00]]></vqmver>
	<author><![CDATA[CGSmith.net, LLC - http://www.cgsmith.net/]]></author>
	<file name="admin/language/dutch/dutch.php">
		      <operation>
			 <search position="after"><![CDATA[// Button]]></search>
			 <add><![CDATA[$_['button_pdf_invoice']   = 'Download PDF factuur';]]></add>
		      </operation>
		   </file>
	<file name="admin/language/english/english.php">
		<operation>
			<search position="after"><![CDATA[// Button]]></search>
			<add><![CDATA[$_['button_pdf_invoice']	= 'Download PDF Invoice';]]></add>
		</operation>
	</file>
Still the same error :(

I have removed english language from admin. But the english language files are still in the root off my site.

Some of my extensions (VQmod) have language files like for example hungary... I have removed them.

Active Member

Posts

Joined
Sat Oct 13, 2012 4:15 am

Post by machomaaan » Thu Jul 11, 2013 12:17 am

Hello!

How to add PDF to email?

And how to change the name of the pdf-button? Currently is "button_pdf_invoice".

Thank you very much!

Newbie

Posts

Joined
Thu Jul 11, 2013 12:14 am

Post by toshina » Tue Aug 13, 2013 1:51 am

First off, great extension! I love the simplicity of converting the invoice to PDF with a simple print.

I downloaded the extension back in late April/early May and it was working wonderfully. However, since the beginning of July, I have been unable to generated any PDF invoices. I keep on getting the following error when I click on the Download PDF Invoice button.

Code: Select all

Parse error: syntax error, unexpected T_ECHO in /home/tfg4rijn/public_html/littlelamb/vqmod/vqcache/vq2-admin_view_template_sale_order_invoice.tpl on line 28
I am pretty sure I didn't make any changes to any of the files. Does the author or anyone know how to fix this?

Thank you.

Newbie

Posts

Joined
Tue Mar 05, 2013 2:47 pm
Location - Edmonton, Alberta

Post by PepeCZ » Wed Aug 28, 2013 1:35 pm

is supported version opencart 1.5.6?

New member

Posts

Joined
Fri Aug 23, 2013 8:00 am

Post by kelemvor » Wed Oct 09, 2013 10:35 pm

Is it possible to add the Customer Group Name to the Invoice page? Not sure which file creates the layout to add in a field...

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by dedoboss » Wed Oct 16, 2013 8:40 pm

Hi, thank you very much for this useful extension.

Can you tell me what I have to set for sending pdf directly to customers email?

thanks

dedoboss

New member

Posts

Joined
Fri Sep 30, 2011 3:26 pm

Post by toshina » Wed Oct 16, 2013 11:07 pm

I sent the develop a private message months ago when I encountered a problem and I received no reply either. I ended up uninstalling the vqmod.

Newbie

Posts

Joined
Tue Mar 05, 2013 2:47 pm
Location - Edmonton, Alberta
Who is online

Users browsing this forum: No registered users and 2 guests