Hi,
I am trying to configure my automatic mail sending, with the status 'COM_PHOCACART_STATUS_PENDING', I wanted to integrate the order form, everything is pass without problem.
I would like to know if I can put information, address ... contacts ... after the order form
I would also point out that the image link 'Powered by' is broken in the body of the mail.
Moreover, if I could have the 'Powered by' at the bottom of the mail, it would arrange me even more ....
thank you,
Kind Regards
Thierry
Configuration of emails, is it possible to add a footer.
-
- Phoca Member
- Posts: 25
- Joined: 29 Jul 2019, 19:45
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Configuration of emails, is it possible to add a footer.
Hi, see:
https://www.phoca.cz/documents/116-phoc ... or-vendors
There are different variables they can be used in the mail. You can just add the information as fixed. But not sure what you mean with "order form"? Do you mean the Order (Delivery Note/Invoice/Receipt) which is set as suffix to the mail? If yes, then the only way is to customize the core code as there is no option to change the position of the Order
Thank you for the info about the broken images, I will take a look at it.
Jan
https://www.phoca.cz/documents/116-phoc ... or-vendors
There are different variables they can be used in the mail. You can just add the information as fixed. But not sure what you mean with "order form"? Do you mean the Order (Delivery Note/Invoice/Receipt) which is set as suffix to the mail? If yes, then the only way is to customize the core code as there is no option to change the position of the Order
Thank you for the info about the broken images, I will take a look at it.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 25
- Joined: 29 Jul 2019, 19:45
Re: Configuration of emails, is it possible to add a footer.
Hello Jan,
The purchase order is a summary of the order placed, an Acknowledgment of receipt of order, it is more correct in the French language and in French commercial language.
When for example the customer, with a payment on delivery, places his order I made sure that a confirmation email is sent to him, because the status remains in pending and it requires to have a manual action. So with this manipulation an email is sent to him and also to the person who can do his job of sending goods.
In the current commercial documents in France we have:
- Quote
- Purchase order
- Delivery form
- Bill
The receipt is not used, it is the invoice that is authentic, otherwise it is used, if the customer pays a deposit.
For the modification of the code, ok, can you tell me which page is to modify and where it is. It would save me from looking too long.
Thanks Jan,
Regards,
Thierry
The purchase order is a summary of the order placed, an Acknowledgment of receipt of order, it is more correct in the French language and in French commercial language.
When for example the customer, with a payment on delivery, places his order I made sure that a confirmation email is sent to him, because the status remains in pending and it requires to have a manual action. So with this manipulation an email is sent to him and also to the person who can do his job of sending goods.
In the current commercial documents in France we have:
- Quote
- Purchase order
- Delivery form
- Bill
The receipt is not used, it is the invoice that is authentic, otherwise it is used, if the customer pays a deposit.
For the modification of the code, ok, can you tell me which page is to modify and where it is. It would save me from looking too long.
Thanks Jan,
Regards,
Thierry
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Configuration of emails, is it possible to add a footer.
Hi, mostly the workflow is following:
- if you order the item and the status is pending - you will get "Order" - summary of ordered items with sutbtotal and total
- if vendor changes the status e.g. to completed - you will get "Invoice"
- in backand you can even print "Delivery Note" e.g. if you send the items - for e.g. delivery service
What exactly do you need to modify? The documents: Invoice, Order, Delivery Note?
Jan
- if you order the item and the status is pending - you will get "Order" - summary of ordered items with sutbtotal and total
- if vendor changes the status e.g. to completed - you will get "Invoice"
- in backand you can even print "Delivery Note" e.g. if you send the items - for e.g. delivery service
What exactly do you need to modify? The documents: Invoice, Order, Delivery Note?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 25
- Joined: 29 Jul 2019, 19:45
Re: Configuration of emails, is it possible to add a footer.
Hello Jan,
I would just like to be able to add information to the mail body after the order summary. I would just like to know on which
page intervene or it may be in the BDD?
Clearly, put a footer on emails
thank you,
Regards,
Thierry
I would just like to be able to add information to the mail body after the order summary. I would just like to know on which
page intervene or it may be in the BDD?
Clearly, put a footer on emails
thank you,
Regards,
Thierry
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Configuration of emails, is it possible to add a footer.
Hi, for now you can edit it here:
administrator/components/com_phocacart/libraries/phocacart/order/status.php
on line cca 622 you can paste to variables:
$body and
$bodyOthers addtional text, e.g.:
But of course if you edit this file, such needs to be backuped as this will be overwritten by next release
Jan
administrator/components/com_phocacart/libraries/phocacart/order/status.php
on line cca 622 you can paste to variables:
$body and
$bodyOthers addtional text, e.g.:
Code: Select all
$body .= '<br><br>This is some footer';
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 25
- Joined: 29 Jul 2019, 19:45
Re: Configuration of emails, is it possible to add a footer.
Hello Jan,
Super is exactly what I wanted to do, I suggest you add this option in future releases.
It is very practical, useful and it improves the template of emails.
I add this code
$body .= '<br><br>'.'<hr />'.JText::_('COM_PHOCACART_FOOTER_MAIL_MESSAGE').'<br><br>';
Thanks Jan,
Regards,
Thierry
Super is exactly what I wanted to do, I suggest you add this option in future releases.
It is very practical, useful and it improves the template of emails.
I add this code
$body .= '<br><br>'.'<hr />'.JText::_('COM_PHOCACART_FOOTER_MAIL_MESSAGE').'<br><br>';
Thanks Jan,
Regards,
Thierry
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Configuration of emails, is it possible to add a footer.
Ok, added to feature request list.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Configuration of emails, is it possible to add a footer.
Hi, the footer option for emails set in version 3.3.2
https://www.phoca.cz/news/1058-phoca-ca ... 2-released
Jan
https://www.phoca.cz/news/1058-phoca-ca ... 2-released
Jan
If you find Phoca extensions useful, please support the project