Forums / General Questions / Disable Order notification emails

Disable Order notification emails

Results 1 to 5 of 5
23 Aug 2011, 15:34
#1
daves avatar

daves

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Disable Order notification emails

Hi there,

Can anyone advise if it's possible to selectively disable certain emails?

I want to disable any emails which relate to orders (ie. order notification, dispatch, update, cancellation etc), while leaving new account, password and everything else switched on.

Is this something that can be done without a hack?

If not can anyone advise the cleanest way to do it, without overwriting core files if possible! Or even just point me in the direction of which files to look at.

Cheers,
Dave
23 Aug 2011, 18:03
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Disable Order notification emails

Depends on the "why" behind your question.
24 Aug 2011, 09:14
#3
daves avatar

daves

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Re: Disable Order notification emails

Thanks for the reply DrByte.

We currently use an inventory management system that also handles all the emails, and for various reasons we'd like to continue using it for order related emails.

It won't deal with account related stuff though, it will only handle order notification, dispatch, refund and so on.

Thanks,
Dave
24 Aug 2011, 17:46
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Disable Order notification emails

Find all references to zen_mail( in the code, and comment-out those sections where you don't want it to send those particular emails.

You'll need to repeat this step whenever you do an upgrade.
25 Aug 2011, 08:53
#5
daves avatar

daves

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Re: Disable Order notification emails

Thanks DrByte, that's much appreciated. :smile: