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
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
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
Do as ReadMe says and see if it works. For me it didn't work but for others did, so good luck.ravidevt wrote:how to uninstall?
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)
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 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4
Works for me too on 1.5.5.1 - and agree with you it would be nice if customers could download invoices from their accountPamella 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)
Done. When I try to print an invoice to PDF this is showing up:You must do a chmod 777 on the upload\system\library\dompdf\lib\fonts folder!
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', // ), )
Any a assistance/help would be great. Thanks in advance.
First add to invoice-to-pdf-1.21.154.xml :
Repeat for all languages installed.
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>
Thanks
Modification:
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.
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>
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.
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!
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!
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.
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.
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
Thank you.
Who is online
Users browsing this forum: No registered users and 13 guests