basketInfoHandlers

Author Message

Franck Grenier

Wednesday 26 May 2010 6:16:42 am

Hello,

I'm trying tu use "basketInfoHandlers" to set up custom calculations on products prices.

Unfortunately, my custom basket handler and even the default basket handler are never called...

Do you know more about that ?

Thanks

Developer at Open Wide

Carlos Revillo

Wednesday 26 May 2010 9:18:49 am

i only may think about a settings issue or maybe an autoload problem... actually i'm working with a custom vathandler and haven't any problems...

Franck Grenier

Thursday 27 May 2010 2:45:48 am

I checked the autoload and found my basketInfoHandler class. So, it's loaded. The settings look ok. I'm not sure when and where basketInfoHandlers are executed. Maybe it's not the right place to do custom calculations.

The unit price of my products is already set up. I need to calculate the final price with discounts depending on quantity parameter and with an option parameter.

Developer at Open Wide

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 02:06:56
Script start
Timing: Jan 18 2025 02:06:56
Module start 'layout'
Timing: Jan 18 2025 02:06:56
Module start 'content'
Timing: Jan 18 2025 02:06:57
Module end 'content'
Timing: Jan 18 2025 02:06:57
Script end

Main resources:

Total runtime0.7926 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.0084 588.9141152.6094
Module start 'layout' 0.00840.0033 741.523439.4297
Module start 'content' 0.01170.7794 780.9531493.8672
Module end 'content' 0.79110.0014 1,274.82038.1875
Script end 0.7925  1,283.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4565160.0002
Check MTime0.00140.1705160.0001
Mysql Total
Database connection0.00070.088810.0007
Mysqli_queries0.751294.7815570.0132
Looping result0.00040.0567550.0000
Template Total0.762096.120.3810
Template load0.00200.251020.0010
Template processing0.760095.883620.3800
Template load and register function0.00020.027110.0002
states
state_id_array0.00090.110910.0009
state_identifier_array0.00120.150020.0006
Override
Cache load0.00160.2021130.0001
Sytem overhead
Fetch class attribute can translate value0.00050.060920.0002
Fetch class attribute name0.00110.135530.0004
XML
Image XML parsing0.00030.034620.0001
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00070.0889100.0001
String conversion0.00000.001540.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
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs