Skip to main content

PDF Invoice plugin

More
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.

More
More
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.
Last edit: 12 years 7 months ago by lifemore.

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

More
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.

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

More
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

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

More
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.

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

More
11 years 1 week 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.

More
11 years 1 week 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.

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

More
11 years 4 days 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

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

More
11 years 3 days 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:
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.175 seconds
Powered by Kunena Forum