Workflow/trigger for shop order status

Author Message

Oliver Frommel

Wednesday 08 July 2009 12:57:21 am

Hello,

what I want to achieve is: make eZ Publish trigger some event when the status of an order is changed, presumably via the admin interface. I guess creating my own workflow won't cut it because I need to get into the regular kernel code which changes the order attributes. Is it possible to override that via the new config.php mechanism? We are using 4.1.3.

Thanks for your help
Oliver

Björn Dieding@xrow.de

Wednesday 08 July 2009 4:51:13 am

Hi, we implemented this feature recently in our ecommerce extension which sits on top of the ez shop.

http://projects.ez.no/xrowecommerce

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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 18:28:51
Script start
Timing: Jan 18 2025 18:28:51
Module start 'layout'
Timing: Jan 18 2025 18:28:51
Module start 'content'
Timing: Jan 18 2025 18:28:52
Module end 'content'
Timing: Jan 18 2025 18:28:52
Script end

Main resources:

Total runtime1.0211 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.4609152.6406
Module start 'layout' 0.00540.0025 742.101639.4609
Module start 'content' 0.00791.0115 781.5625520.4219
Module end 'content' 1.01940.0017 1,301.98448.3125
Script end 1.0211  1,310.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3050160.0002
Check MTime0.00130.1234160.0001
Mysql Total
Database connection0.00070.072510.0007
Mysqli_queries0.977995.7632540.0181
Looping result0.00050.0484520.0000
Template Total0.994697.420.4973
Template load0.00200.196420.0010
Template processing0.992697.202320.4963
Template load and register function0.00020.015110.0002
states
state_id_array0.00070.067510.0007
state_identifier_array0.00110.105720.0005
Override
Cache load0.00150.1485110.0001
Sytem overhead
Fetch class attribute can translate value0.00080.081920.0004
Fetch class attribute name0.00130.123330.0004
XML
Image XML parsing0.00070.065220.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00130.1260160.0001
String conversion0.00000.000940.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs