- Posts: 137
- Thank you received: 2
How to add address to order confirmation mail
13 years 10 months ago #82541
by 1fcb
How to add address to order confirmation mail was created by 1fcb
Hi, have the business version. I would like to receive a copy of the original order confirmation mail that goes to the customer instead the mail that goes to the admin. I do not find where I could my admin address as a cc to the order confirmation mail.
Can you please point me to the right panel or explain how to do in case it is not that trivial?
Thanks in advance!
Can you please point me to the right panel or explain how to do in case it is not that trivial?
Thanks in advance!
Please Log in or Create an account to join the conversation.
13 years 10 months ago #82595
by Xavier
Replied by Xavier on topic How to add address to order confirmation mail
Hi,
To do that, you can edit the class order "administrator/components/com_hikashop/classes/order.php" and in the function save(), add the administrator email address in the variable "$order->mail->dst_email".
To do that, you can edit the class order "administrator/components/com_hikashop/classes/order.php" and in the function save(), add the administrator email address in the variable "$order->mail->dst_email".
Please Log in or Create an account to join the conversation.
13 years 10 months ago #82852
by 1fcb
Replied by 1fcb on topic How to add address to order confirmation mail
would I do that in the backend or do I need to edit a file on the server directly?
Please Log in or Create an account to join the conversation.
13 years 10 months ago #82853
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic How to add address to order confirmation mail
Hi,
Please edit the email in the HikaShop backend.
At the end of the email, you would find:
Just add after:
So, the email that you have in your configuration (as "payment notification email") would be added in the destinations of the email.
Regards,
Please edit the email in the HikaShop backend.
At the end of the email, you would find:
Code:
<?php
$data->customer = $customer;
Code:
$config =& hikashop_config();
$data->customer->user_email .= ',' . $config->get('payment_notification_email');
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 10 months ago #82854
by 1fcb
Replied by 1fcb on topic How to add address to order confirmation mail
I am hesitant to ask... but actually I do not find this expression in any of the e-mails, when going into the backend -> system -> e-mails ?
Please Log in or Create an account to join the conversation.
13 years 10 months ago #82858
by nicolas
Replied by nicolas on topic How to add address to order confirmation mail
The edition of emails is only available via that menu in the Business edition of HikaShop.
Please Log in or Create an account to join the conversation.
13 years 10 months ago #82907
by 1fcb
Replied by 1fcb on topic How to add address to order confirmation mail
I have the business edition and there are several e-mails that I can edit. I am not sure which one to edit:
ORDER_NOTIFICATION or ORDER_CREATION_NOTIFICATION ? In none of both I find near the end
<?php
$data->customer = $customer;
ORDER_NOTIFICATION or ORDER_CREATION_NOTIFICATION ? In none of both I find near the end
<?php
$data->customer = $customer;
Please Log in or Create an account to join the conversation.
13 years 10 months ago #82989
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic How to add address to order confirmation mail
Hi,
I was talking about the "order status notification" email.
Order creation notification use the parameter.
For the "order creation notification" email, you have to add in the end of the email this:
The "order notification" email is blank by default but you can add this same php code.
Regards,
I was talking about the "order status notification" email.
Order creation notification use the parameter.
For the "order creation notification" email, you have to add in the end of the email this:
Code:
<?php
$config =& hikashop_config();
$data->customer->user_email .= ',' . $config->get('payment_notification_email');
The "order notification" email is blank by default but you can add this same php code.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.131 seconds