- Posts: 37
- Thank you received: 0
PDF Invoice plugin
12 years 8 months ago #140821
by Joost
PDF Invoice plugin was created by Joost
I have installed the pdf invoice plugin and it works nice. But know I want to change the lay out, is that possible?
Please Log in or Create an account to join the conversation.
12 years 8 months ago #140826
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic PDF Invoice plugin
Hi,
www.hikashop.com/forum/4-how-to/66835-pdf-plugin-questions.html
And also :
www.hikashop.com/forum/4-how-to/81772-ha...d-order-numbers.html
www.hikashop.com/forum/product-category-...82-invoice-date.html
www.hikashop.com/forum/2-general-talk-ab...xisting-problem.html
...
Regards,
www.hikashop.com/forum/4-how-to/66835-pdf-plugin-questions.html
And also :
www.hikashop.com/forum/4-how-to/81772-ha...d-order-numbers.html
www.hikashop.com/forum/product-category-...82-invoice-date.html
www.hikashop.com/forum/2-general-talk-ab...xisting-problem.html
...
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
12 years 7 months ago - 12 years 7 months ago #145825
by lifemore
Replied by lifemore on topic PDF Invoice plugin
thank you for sharing. but i wonder if there is any detailed tutorial about this
pdf plugin
.
forgive me for being a new beginner.
forgive me for being a new beginner.
Last edit: 12 years 7 months ago by lifemore.
Please Log in or Create an account to join the conversation.
12 years 7 months ago #145872
by Xavier
Replied by Xavier on topic PDF Invoice plugin
Hi,
To change the layout, you have to edit he file "plugins\hikashop\attachinvoice\attachinvoice\invoice.php" via FTP.
We don't have detailed tutorial for this. It require some php and html skills.
To change the layout, you have to edit he file "plugins\hikashop\attachinvoice\attachinvoice\invoice.php" via FTP.
We don't have detailed tutorial for this. It require some php and html skills.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #176684
by ip-studio
Replied by ip-studio on topic PDF Invoice plugin
Hi,
I have a multilingual website but I'd like to send the invoice only in english (default language), whatever the language used in frontend by the user.
How can I do that?
Thanks
François
I have a multilingual website but I'd like to send the invoice only in english (default language), whatever the language used in frontend by the user.
How can I do that?
Thanks
François
Please Log in or Create an account to join the conversation.
11 years 11 months ago #176714
by nicolas
Replied by nicolas on topic PDF Invoice plugin
Hi,
There is no option for that. The invoice is sent in the language of the website of your customers.
If you want to change that, you'll have to edit the file plugins/hikashop/attachinvoice/attachinvoice.php and modify the code in order to force the english language.
There is no option for that. The invoice is sent in the language of the website of your customers.
If you want to change that, you'll have to edit the file plugins/hikashop/attachinvoice/attachinvoice.php and modify the code in order to force the english language.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 95
- Thank you received: 1
10 years 11 months ago #216460
by wideservices
Replied by wideservices on topic PDF Invoice plugin
Hello. In my hikashop I have created some additional custom address fields and I need them to be displayed on the invoice that this plugin creates. How can I do this?
Please Log in or Create an account to join the conversation.
10 years 11 months ago #216481
by nicolas
Replied by nicolas on topic PDF Invoice plugin
Hi,
You want to edit the file "address_template" for both your frontend and backend templates via the menu Display>Views and add the tags of your new custom fields.
You want to edit the file "address_template" for both your frontend and backend templates via the menu Display>Views and add the tags of your new custom fields.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 95
- Thank you received: 1
10 years 11 months ago #217024
by wideservices
Replied by wideservices on topic PDF Invoice plugin
Hi,
i want to add fields in the invoice pdf i get through pdfinvoice plugin.
i have activated 2 fields VAT,COMPANY for the address(the core ones).
How can i check if they are empty or not in the address_template.php so when they are empty i dont want to show the label on the invoice
Thank you
i want to add fields in the invoice pdf i get through pdfinvoice plugin.
i have activated 2 fields VAT,COMPANY for the address(the core ones).
How can i check if they are empty or not in the address_template.php so when they are empty i dont want to show the label on the invoice
Thank you
Please Log in or Create an account to join the conversation.
10 years 11 months ago #217028
by nicolas
Replied by nicolas on topic PDF Invoice plugin
Hi,
If you use an old version of HikaShop it's not possible
If you use a recent version of HikaShop you can do it like that:
If you use an old version of HikaShop it's not possible
If you use a recent version of HikaShop you can do it like that:
Code:
<?php $address = $this->params->get('address');
if(!empty($address->address_vat)){
echo 'VAT n°:'.$address->address_vat;
} ?>
Please Log in or Create an account to join the conversation.
Time to create page: 0.199 seconds