Custom code on order status change

Author Message

Piotr Switkowski

Monday 27 November 2006 4:33:44 am

I would like to execute the custom code whenever the order status change. Could anyone please advice how to plug my code into the existing shop?

I would think about creating custom trigger on status change and execute my code on event. However I do not know if this is possible to have a trigger on order status change.

Where could I find documentation on custom triggers?

Regards

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 15:17:24
Script start
Timing: Jan 18 2025 15:17:24
Module start 'layout'
Timing: Jan 18 2025 15:17:24
Module start 'content'
Timing: Jan 18 2025 15:17:25
Module end 'content'
Timing: Jan 18 2025 15:17:25
Script end

Main resources:

Total runtime0.9987 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0092 589.3516152.6250
Module start 'layout' 0.00930.0029 741.976639.4609
Module start 'content' 0.01210.9852 781.4375398.2813
Module end 'content' 0.99730.0013 1,179.71888.1563
Script end 0.9986  1,187.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3959160.0002
Check MTime0.00130.1352160.0001
Mysql Total
Database connection0.00140.143910.0014
Mysqli_queries0.963096.4282460.0209
Looping result0.00040.0432440.0000
Template Total0.964396.620.4821
Template load0.00210.214720.0011
Template processing0.962196.341420.4811
Template load and register function0.00010.012610.0001
states
state_id_array0.00110.107510.0011
state_identifier_array0.00080.075620.0004
Override
Cache load0.00180.175970.0003
Sytem overhead
Fetch class attribute can translate value0.00050.049910.0005
Fetch class attribute name0.00050.050310.0005
XML
Image XML parsing0.00010.005710.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00050.0550100.0001
String conversion0.00000.000840.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs