Forums / Developer / Disable sending order emails

Disable sending order emails

Author Message

Igor Vrdoljak

Monday 25 September 2006 8:31:57 am

Hi

I am implementing an eZ based web shop, and I need to disable sending emails after checkout. Is there an ini-based setting I could use for this?

I could disable it in kernel\shop\ezshopoperationcollection.php, but it seems a bit drastic solution :)

Thnx

http://www.netgen.hr/eng
http://twitter.com/ivrdoljak

Igor Vrdoljak

Thursday 02 November 2006 7:57:36 am

Done it by changing

kernel\shop\operation_definition.php

more specific, by commenting following lines

// do not send emails after activating order
/*
array( 'type' => 'method',
'name' => 'send-order-email',
'frequency' => 'once',
'method' => 'sendOrderEmails' ),
*/

If anybody knows of a better/cleaner solution, I would appreciate a hint :)

http://www.netgen.hr/eng
http://twitter.com/ivrdoljak

Ahmed Arous

Tuesday 28 December 2010 6:14:55 am

Hey,

You can turn it off by adding this to your site.ini :

[ShopSettings]

SendOrderEmail=disabled