Hello everyone,
I've installed PhocaPDF but I'm having some troubles regarding two issues.
I'm using VirtueMart+K2 and PayPAL.
1) I would like that my clients could see their confirmation orders in their account page. However, I am able to generate the PDFs file in VirtueMart (Orders, delivery and enable the PDF invoice). However, I want that this step should be done automatically. I mean, the client buys the product, receives a confirmation order link, click on it, and when it will go to the account page, it will find the PDFs already generated.
2) Is it possible to change the PDF Invoice content? I mean, I'm observing that the content has english content (billing address and etc.) but I want to change it to other language.
I've searched the whole forum but I couldn't find answers to these questions.
Thanks for ANY help...
Generate PDFs automatically and change PDF content
-
- Phoca Newbie
- Posts: 3
- Joined: 21 Mar 2011, 12:05
-
- Phoca Newbie
- Posts: 3
- Joined: 21 Mar 2011, 12:05
Re: Generate PDFs automatically and change PDF content
Someone? ANY help would be appreciated.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Generate PDFs automatically and change PDF content
Hi,
If you are using this:
https://www.phoca.cz/documents/18-virtue ... eipt-addon
1) I think this needs to be customized, like similar other customizations in the article
2) the invoice has a template (in html) and this can be changed, the strings can be translated standard way like all plugins in Joomla! are translated.
Invoice template: plugins\phocapdf\virtuemart\tmpl.invoice.php
Jan
Please follow the forum rules: Someone? forum-rules.php (1)Someone? ANY help would be appreciated.
If you are using this:
https://www.phoca.cz/documents/18-virtue ... eipt-addon
1) I think this needs to be customized, like similar other customizations in the article
2) the invoice has a template (in html) and this can be changed, the strings can be translated standard way like all plugins in Joomla! are translated.
Invoice template: plugins\phocapdf\virtuemart\tmpl.invoice.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 21 Mar 2011, 12:05
Re: Generate PDFs automatically and change PDF content
Thanks Jan.
Regarding the first question, I didn't get how to do it automatically. I just want that the delivery note or the receipt will be automatically created in account details of users.
But thanks, I would like to hear some of you...
Regarding the first question, I didn't get how to do it automatically. I just want that the delivery note or the receipt will be automatically created in account details of users.
But thanks, I would like to hear some of you...
-
- Phoca Newbie
- Posts: 1
- Joined: 19 Apr 2011, 16:24
Re: Generate PDFs automatically and change PDF content
Hi Jan,
I want to change fields b_address_1 , b_address_2 in tmpl.invoice.php additional invoice.
In which file to find the query to the database?
I want to change fields b_address_1 , b_address_2 in tmpl.invoice.php additional invoice.
In which file to find the query to the database?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Generate PDFs automatically and change PDF content
Hi, not on my PC now, so don't know the exact place, but all sql queries are stored in the helper of the Phoca PDF VirtueMart plugin.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 05 Jun 2011, 21:17
Re: Generate PDFs automatically and change PDF content
Hi,
I have the same question - how to make automatic generation of ivoice possible.
I would like to skip step with "new delivery" creation (including ticking "create invoice" box).
Iwould apreciate very much if you help to resolve the issue!
Otherwise, you make great applications, Jan! Thank you!
I have the same question - how to make automatic generation of ivoice possible.
I would like to skip step with "new delivery" creation (including ticking "create invoice" box).
Iwould apreciate very much if you help to resolve the issue!
Otherwise, you make great applications, Jan! Thank you!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Generate PDFs automatically and change PDF content
Hi, see:
https://www.phoca.cz/documents/18-virtue ... eipt-addon ... there is a guide how to create the invoice after changing the status.
https://www.phoca.cz/documents/18-virtue ... eipt-addon ... there is a guide how to create the invoice after changing the status.
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 05 Jun 2011, 21:17
Re: Generate PDFs automatically and change PDF content
Hi!Jan wrote:Hi, see:
https://www.phoca.cz/documents/18-virtue ... eipt-addon ... there is a guide how to create the invoice after changing the status.
The question was How to automatize creation of invoice after the order is made?
Any hints?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Generate PDFs automatically and change PDF content
Hi,
But of course can be customized in the code, but I didn't do such customization, so cannot give any advices
no idea, I didn't do such customization yet and didn't find any such request yet. Normally, before creating invoice (which is important document), the ordering must be checked (if all items are available, if there were no mistake, etc.)The question was How to automatize creation of invoice after the order is made?
But of course can be customized in the code, but I didn't do such customization, so cannot give any advices
If you find Phoca extensions useful, please support the project