[Skip to main content](#vessel-content)

#   SOLVED Multiple Order Notification Mails to Admin

##

- **[nik.mess](/forum/user/9459-nik-mess "View nik.mess's Profile")**
- [![nik.mess's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9459.png)](/forum/user/9459-nik-mess "View nik.mess's Profile") Topic Author
- [ Offline](/forum/user/9459-nik-mess)

Less More

- Posts: 24
- Thank you received: 1
-
-

14 years 2 months ago -  14 years 2 months ago [\#65207](#65207) by [nik.mess](/forum/user/9459-nik-mess "View nik.mess's Profile")  *[SOLVED Multiple Order Notification Mails to Admin](/forum/4-how-to/65207-solved-multiple-order-notification-mails-to-admin#65207 "Is it possible to send the Order administrator notification to two different email addresses (to our HQ and the local distributor)? Different content would be nice but is not absolutely needed.  Also, is it possible that changing the email templates on the demo site (demo.hikashop.com) is not possible? It says &quot;sucessfully saved&quot;, even though all changes disappear.  Thanks for any help! nik")* was created by *[nik.mess](/forum/user/9459-nik-mess "View nik.mess's Profile")*

Is it possible to send the *Order administrator notification* to two different email addresses (to our HQ and the local distributor)? Different content would be nice but is not absolutely needed.

Also, is it possible that changing the email templates on the demo site (demo.hikashop.com) is not possible? It says "sucessfully saved", even though all changes disappear.

Thanks for any help!
nik

Last edit: 14 years 2 months ago by [nik.mess](/forum/user/9459-nik-mess "View nik.mess's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY1MjA3LXNvbHZlZC1tdWx0aXBsZS1vcmRlci1ub3RpZmljYXRpb24tbWFpbHMtdG8tYWRtaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

14 years 2 months ago [\#65349](#65349) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Send Multiple Order Notification Mails to Admin](/forum/4-how-to/65207-solved-multiple-order-notification-mails-to-admin#65349 "Is it possible to send the Order administrator notification to two different email addresses (to our HQ and the local distributor)? Different content would be nice but is not absolutely needed.  Also, is it possible that changing the email templates on the demo site (demo.hikashop.com) is not possible? It says &quot;sucessfully saved&quot;, even though all changes disappear.  Thanks for any help! nik")*

You can do like that:
[ www.hikashop.com/en/forum/4-how-to/15558...fiation-e-mails.html](http://www.hikashop.com/en/forum/4-how-to/15558-rules-for-admin-order-notifiation-e-mails.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY1MjA3LXNvbHZlZC1tdWx0aXBsZS1vcmRlci1ub3RpZmljYXRpb24tbWFpbHMtdG8tYWRtaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nik.mess](/forum/user/9459-nik-mess "View nik.mess's Profile")**
- [![nik.mess's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9459.png)](/forum/user/9459-nik-mess "View nik.mess's Profile") Topic Author
- [ Offline](/forum/user/9459-nik-mess)

Less More

- Posts: 24
- Thank you received: 1
-
-

14 years 2 months ago -  14 years 2 months ago [\#66325](#66325) by [nik.mess](/forum/user/9459-nik-mess "View nik.mess's Profile")  Replied by *[nik.mess](/forum/user/9459-nik-mess "View nik.mess's Profile")* on topic *[Re: Send Multiple Order Notification Mails to Admin](/forum/4-how-to/65207-solved-multiple-order-notification-mails-to-admin#66325 "Is it possible to send the Order administrator notification to two different email addresses (to our HQ and the local distributor)? Different content would be nice but is not absolutely needed.  Also, is it possible that changing the email templates on the demo site (demo.hikashop.com) is not possible? It says &quot;sucessfully saved&quot;, even though all changes disappear.  Thanks for any help! nik")*

Thank you for the hint!

I also managed to create a PDF summery of the order with FPDF: Code:

&lt;?php //PDF Attachment $pdfoc = new OCPDF(); $pdfoc-&gt;SetCustomerOrderNo($data-&gt;customer_order_no); $pdfoc-&gt;SetCustomerNo($data-&gt;customer-&gt;name); $template = trim(hikashop_getLayout($view,'address_template',$params,$js)); if(!empty($data-&gt;cart-&gt;billing_address)){ $billing = $template; foreach($data-&gt;order_addresses_fields as $field){ $fieldname = $field-&gt;field_namekey; $address =&amp; $data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]; $billing=str_replace('{'.$fieldname.'}',$fieldsClass-&gt;show($field,$address-&gt;$fieldname),$billing); } $billing = str_replace(array("\r\n","\r","\n"),"\n",preg_replace('#{(?:(?!}).)*}#i','',$billing)); $pdfoc-&gt;SetCustomerBillingAddress($billing); } $ordercurrency = $currencyHelper-&gt;getCurrencies($data-&gt;order_currency_id,$null)[1]-&gt;currency_symbol; $pdfoc-&gt;SetOrderCurrency($ordercurrency); $pdfoc-&gt;AddPage(); foreach($data-&gt;cart-&gt;products as $item){ $pdfoc-&gt;AppendProduct(strip_tags($item-&gt;order_product_name),$item-&gt;order_product_code,$item-&gt;order_product_price,$item-&gt;order_product_quantity); } if(bccomp($data-&gt;order_shipping_price,0,5)){ $pdfoc-&gt;AppendShipping($data-&gt;order_shipping_price); } $pdfoc-&gt;PrintTotal($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax); $pdfoc-&gt;AliasNbPages(); $pdfoc-&gt;Output("/Applications/MAMP/htdocs/pdfoc/Summary-".$data-&gt;order_number.'.pdf',"F"); $attachObj = null; $attachObj-&gt;name = 'MetaSystems-Summary-'.$data-&gt;order_number.'.pdf'; $attachObj-&gt;filename = "/Applications/MAMP/htdocs/pdfoc/Summary-".$data-&gt;order_number.'.pdf'; $attachObj-&gt;url = 'localhost:8888'; $mail-&gt;attachments = array($attachObj); ?&gt;

Last edit: 14 years 2 months ago by [nik.mess](/forum/user/9459-nik-mess "View nik.mess's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY1MjA3LXNvbHZlZC1tdWx0aXBsZS1vcmRlci1ub3RpZmljYXRpb24tbWFpbHMtdG8tYWRtaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.065 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
