Attach Invoice Plugin

  • Posts: 303
  • Thank you received: 5
  • Hikashop Business
1 month 1 week ago #341677

Hi,

I have a couple of questions around the attache invoice plugin.

Is there a way it can attache the invoice to the admin emails as well?

Also, is there a way of sending the email to multiple addresses? The plugin has a feature to add one address - any more?

Many thanks.

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

  • Posts: 75835
  • Thank you received: 11829
  • MODERATOR
1 month 1 week ago #341678

Hi,

Well, you have two solutions:
- You could turn off the "payment notification" email, and instead use the "send a copy" setting of the plugin to enter your email address, so that you'll receive a copy of the email the user will get with the PDF.
- You can change the line:

if(empty($data->mail_name) || !in_array($data->mail_name, array('order_status_notification', 'order_creation_notification')))
in the file attachinvoice.php of the plugin to add the "payment_notification" email to the array so that the plugin will attach the PDF to the payment notification the admin receives too.

Finally, note that in the menu System>Emails, you can edit each email. And for each email, you can use its "BCC" setting to enter email addresses which will receive a copy of the emails of that type being sent by HikaShop.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum