Basket item properties on basket update

Author Message

Milad P

Wednesday 21 November 2007 2:40:23 am

Hi,
I'm writing a workflow that will trig on shop/basket/before. The workflow should check the items stock attribute and respond to that.

My problem is that i don't know how to get information about which items in the basket that is going to be updated. The $process array doesn't contain anything valuable.

Any suggestions?

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 31 2025 01:16:24
Script start
Timing: Jan 31 2025 01:16:24
Module start 'layout'
Timing: Jan 31 2025 01:16:24
Module start 'content'
Timing: Jan 31 2025 01:16:25
Module end 'content'
Timing: Jan 31 2025 01:16:25
Script end

Main resources:

Total runtime0.9900 sec
Peak memory usage8,192.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.2500151.2266
Module start 'layout' 0.00500.0037 739.4766220.7188
Module start 'content' 0.00870.9806 960.19534,137.6406
Module end 'content' 0.98930.0007 5,097.83597.8281
Script end 0.9900  5,105.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3323160.0002
Check MTime0.00120.1181160.0001
Mysql Total
Database connection0.00070.068310.0007
Mysqli_queries0.929393.8667460.0202
Looping result0.00030.0325440.0000
Template Total0.945895.520.4729
Template load0.00190.190120.0009
Template processing0.943995.338820.4719
Template load and register function0.00130.131910.0013
states
state_id_array0.00130.129610.0013
state_identifier_array0.00120.119820.0006
Override
Cache load0.00150.152870.0002
Sytem overhead
Fetch class attribute can translate value0.00150.147410.0015
Fetch class attribute name0.00140.142310.0014
XML
Image XML parsing0.00010.009910.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00110.1147100.0001
String conversion0.00000.000640.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs