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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 10:30:39
Script start
Timing: Jan 18 2025 10:30:39
Module start 'layout'
Timing: Jan 18 2025 10:30:39
Module start 'content'
Timing: Jan 18 2025 10:30:40
Module end 'content'
Timing: Jan 18 2025 10:30:40
Script end

Main resources:

Total runtime1.2046 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 594.6875152.6250
Module start 'layout' 0.00660.0032 747.312539.4453
Module start 'content' 0.00981.1934 786.7578529.7813
Module end 'content' 1.20320.0013 1,316.539112.1641
Script end 1.2045  1,328.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2877160.0002
Check MTime0.00130.1077160.0001
Mysql Total
Database connection0.00110.092710.0011
Mysqli_queries1.151895.6177570.0202
Looping result0.00060.0490550.0000
Template Total1.173897.420.5869
Template load0.00190.159920.0010
Template processing1.171897.283220.5859
Template load and register function0.00010.011010.0001
states
state_id_array0.00070.056410.0007
state_identifier_array0.00140.114220.0007
Override
Cache load0.00160.1361260.0001
Sytem overhead
Fetch class attribute can translate value0.00060.046020.0003
Fetch class attribute name0.00150.127940.0004
XML
Image XML parsing0.00070.054120.0003
class_abstraction
Instantiating content class attribute0.00000.001150.0000
General
dbfile0.00140.1133160.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs