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

#   Removal of the order creation mail

##

- **[Pim](/forum/user/18780-pim "View Pim's Profile")**
- [![Pim's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/18780-pim "View Pim's Profile") Topic Author
- [ Offline](/forum/user/18780-pim)

Less More

- Posts: 14
- Thank you received: 0
-
-

13 years 5 months ago -  13 years 5 months ago [\#103896](#103896) by [Pim](/forum/user/18780-pim "View Pim's Profile")  *[Removal of the order creation mail](/forum/4-how-to/81850-removal-of-the-order-creation-mail#103896 "Hi,  I read somewhere that, in order to remove the order creation mail, you could edit the file administrator/components/com&#95;hikashop/classes/order.php and remove the send of the email in the save function. I found the order.php and also the save function. Do I remove the following two lines? (I´m not a programmer...):  $send&#95;email = $this-&gt;sendEmailAfterOrderCreation;  $dispatcher-&gt;trigger( 'onAfterOrderCreate', array( &amp; $order,&amp;$send&#95;email) );  Or is there more/other? Thanks in advance")* was created by *[Pim](/forum/user/18780-pim "View Pim's Profile")*

Hi,

I read somewhere that, in order to remove the order creation mail, you could edit the file administrator/components/com_hikashop/classes/order.php and remove the send of the email in the save function.
I found the order.php and also the save function.
Do I remove the following two lines? (I´m not a programmer...):

**$send\_email = $this-&gt;sendEmailAfterOrderCreation;

$dispatcher-&gt;trigger( 'onAfterOrderCreate', array( &amp; $order,&amp;$send\_email) );**

Or is there more/other?
Thanks in advance

Last edit: 13 years 5 months ago by [Pim](/forum/user/18780-pim "View Pim's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxODUwLXJlbW92YWwtb2YtdGhlLW9yZGVyLWNyZWF0aW9uLW1haWw/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: 86320
- Thank you received: 14279
-
-

13 years 5 months ago [\#103901](#103901) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Removal of the order creation mail](/forum/4-how-to/81850-removal-of-the-order-creation-mail#103901 "Hi,  I read somewhere that, in order to remove the order creation mail, you could edit the file administrator/components/com&#95;hikashop/classes/order.php and remove the send of the email in the save function. I found the order.php and also the save function. Do I remove the following two lines? (I´m not a programmer...):  $send&#95;email = $this-&gt;sendEmailAfterOrderCreation;  $dispatcher-&gt;trigger( 'onAfterOrderCreate', array( &amp; $order,&amp;$send&#95;email) );  Or is there more/other? Thanks in advance")*

Hi,

You should just change:
var $sendEmailAfterOrderCreation = true;
to:
var $sendEmailAfterOrderCreation = false;

But it would be better to simply unpublish the order creation notification via the menu System&gt;Emails (business edition). That way, you won't loose the change when you update.

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

- **[Pim](/forum/user/18780-pim "View Pim's Profile")**
- [![Pim's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/18780-pim "View Pim's Profile") Topic Author
- [ Offline](/forum/user/18780-pim)

Less More

- Posts: 14
- Thank you received: 0
-
-

13 years 5 months ago [\#103903](#103903) by [Pim](/forum/user/18780-pim "View Pim's Profile")  Replied by *[Pim](/forum/user/18780-pim "View Pim's Profile")* on topic *[Removal of the order creation mail](/forum/4-how-to/81850-removal-of-the-order-creation-mail#103903 "Hi,  I read somewhere that, in order to remove the order creation mail, you could edit the file administrator/components/com&#95;hikashop/classes/order.php and remove the send of the email in the save function. I found the order.php and also the save function. Do I remove the following two lines? (I´m not a programmer...):  $send&#95;email = $this-&gt;sendEmailAfterOrderCreation;  $dispatcher-&gt;trigger( 'onAfterOrderCreate', array( &amp; $order,&amp;$send&#95;email) );  Or is there more/other? Thanks in advance")*

Thanks Nicolas:-)
I only have the Essential, so I have to choose the first option.

Have a great day

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxODUwLXJlbW92YWwtb2YtdGhlLW9yZGVyLWNyZWF0aW9uLW1haWw/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.054 seconds

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

[](#top)
