- Posts: 33
- Thank you received: 1
Client VAT in Invoice
- ceccarelli
-
Topic Author
- Offline
in backend i have activated this field... how to get it in the invoice now?
Please Log in or Create an account to join the conversation.
You need to edit the file "address_template" for both your frontend and backend template via the menu Display>Views and then add the tag corresponding to your custom field in there.
Please Log in or Create an account to join the conversation.
- ceccarelli
-
Topic Author
- Offline
- Posts: 33
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- ceccarelli
-
Topic Author
- Offline
- Posts: 33
- Thank you received: 1
where can i do that?
i use the pdf plugin
Please Log in or Create an account to join the conversation.
- ceccarelli
-
Topic Author
- Offline
- Posts: 33
- Thank you received: 1
Please Log in or Create an account to join the conversation.
The PDF invoice plugin file is plugins/hikashop/attachinvoice/attachinvoice/invoice.php
It's the same for both the frontend and the backend. So if you want to add text in there, you should do it in that file and you would see the change in the PDF regardless from where you get it.
Please Log in or Create an account to join the conversation.
- ceccarelli
-
Topic Author
- Offline
- Posts: 33
- Thank you received: 1
I have different invoices layout outputed form forntend, backend and backend pdf plugin print invoice function in orders listing
i just would like to have one unique output everywhere...
Please Log in or Create an account to join the conversation.
If that doesn't help, please provide screenshots of what you get where so that we can better understand the issue.
Please Log in or Create an account to join the conversation.
- ceccarelli
-
Topic Author
- Offline
- Posts: 33
- Thank you received: 1
Please Log in or Create an account to join the conversation.
You need to edit the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php and change the code displaying the invoice number:
Please Log in or Create an account to join the conversation.
- ceccarelli
-
Topic Author
- Offline
- Posts: 33
- Thank you received: 1
found file and string but i'm a php analphabet
could you just tell me what string to plache there instead?
i would be super grateful for that
Please Log in or Create an account to join the conversation.
It's simple really. You don't need to know PHP.
Change the class of that line from invoicetitle to date so that it uses the same formatting as the date.
Please Log in or Create an account to join the conversation.
- ceccarelli
-
Topic Author
- Offline
- Posts: 33
- Thank you received: 1
Please Log in or Create an account to join the conversation.
The fattura in the middle comes from what you've written in the "order number format" or "invoice number format" settings of the HikaShop configuration.
So please remove it from there and that should fix it for new orders.
Please Log in or Create an account to join the conversation.
- ceccarelli
-
Topic Author
- Offline
- Posts: 33
- Thank you received: 1
Please Log in or Create an account to join the conversation.
Please understand that since you've added that on your end, you should know better than us how you added it there. On our end, we're just guessing what is the most likely thing you might have done to get that result.
Please Log in or Create an account to join the conversation.
