- Posts: 39
- Thank you received: 4
Remove shipping address from invoice PDF
9 months 3 weeks ago #369581
by spike252
Remove shipping address from invoice PDF was created by spike252
-- HikaShop version -- : 6.1.1
-- Joomla version -- : 5.4.1
-- PHP version -- : 8.3
-- Browser(s) name and version -- : Firefox
1. How can I remove the shipping address from the PDF invoice?
2. How can I automatically include the invoice receipt in the confirmation email when the order status is "Completed"?
Thanks in Advance
-- Joomla version -- : 5.4.1
-- PHP version -- : 8.3
-- Browser(s) name and version -- : Firefox
1. How can I remove the shipping address from the PDF invoice?
2. How can I automatically include the invoice receipt in the confirmation email when the order status is "Completed"?
Thanks in Advance
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago #369584
by nicolas
Replied by nicolas on topic Remove shipping address from invoice PDF
Hi,
1. You want to go in the menu Display>Views. There, search for the pdf_layout / invoice.php (or one of the other layouts of pdf_layout based on what you selected in the "layout" setting of the PDF invoice plugin). Edit it, and search for the line:
Replace it by:
and the shipping address will be removed from the PDF files generated by the plugin.
2. The invoice PDF file will be included automatically in the email sent to the customer once the plugin is installed and enabled.
One reason it would not be the case would be if the "Access level" of the plugin would be changed from something else than public, or if the "Statuses for email attachment" setting would be filled with incorrect statuses (you can leave it empty).
1. You want to go in the menu Display>Views. There, search for the pdf_layout / invoice.php (or one of the other layouts of pdf_layout based on what you selected in the "layout" setting of the PDF invoice plugin). Edit it, and search for the line:
Code:
$addresses = array('billing_address','shipping_address');
Code:
$addresses = array('billing_address');
2. The invoice PDF file will be included automatically in the email sent to the customer once the plugin is installed and enabled.
One reason it would not be the case would be if the "Access level" of the plugin would be changed from something else than public, or if the "Statuses for email attachment" setting would be filled with incorrect statuses (you can leave it empty).
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago #369593
by spike252
Replied by spike252 on topic Remove shipping address from invoice PDF
Thanks, I need a separate Plugin for that? I understand you right?
You mean that:
www.hikashop.com/marketplace/product/18-plugin-pdf.html
If yes: The word "invoice" should not appear anywhere in the PDF; can I change that?
Thanks
You mean that:
www.hikashop.com/marketplace/product/18-plugin-pdf.html
If yes: The word "invoice" should not appear anywhere in the PDF; can I change that?
Thanks
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago #369595
by nicolas
Replied by nicolas on topic Remove shipping address from invoice PDF
Hi,
Yes, without this plugin HikaShop cannot generate PDF invoices.
So if you need PDF invoices, then you need this plugin.
The text in the invoice, like any text in emails sent by HikaShop, or any interface on the frontend and the backend of HikaShop use translation strings.
So, you can use translation overrides to customize them:
www.hikashop.com/download/languages.html#modify
Yes, without this plugin HikaShop cannot generate PDF invoices.
So if you need PDF invoices, then you need this plugin.
The text in the invoice, like any text in emails sent by HikaShop, or any interface on the frontend and the backend of HikaShop use translation strings.
So, you can use translation overrides to customize them:
www.hikashop.com/download/languages.html#modify
The following user(s) said Thank You: spike252
Please Log in or Create an account to join the conversation.
Time to create page: 0.285 seconds