eZ Community » Forums » Developer » Disable sending order emails
expandshrink

Disable sending order emails

Disable sending order emails

Monday 25 September 2006 5:31:57 pm - 2 replies

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 happy.gif Emoticon

Thnx

Modified on Monday 25 September 2006 6:11:07 pm by Igor Vrdoljak

Thursday 02 November 2006 4:57:36 pm

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 happy.gif Emoticon

Tuesday 28 December 2010 3:14:55 pm

Hey,

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

[ShopSettings]

SendOrderEmail=disabled

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu