How to limit the number of different items in the basket?

Author Message

Luc Chase

Friday 24 October 2003 4:08:37 am

What can I do to limit the number of different items in the shop basket?

The Web Application Service Provider

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 19 2025 04:44:40
Script start
Timing: Jan 19 2025 04:44:40
Module start 'layout'
Timing: Jan 19 2025 04:44:40
Module start 'content'
Timing: Jan 19 2025 04:44:41
Module end 'content'
Timing: Jan 19 2025 04:44:41
Script end

Main resources:

Total runtime0.7935 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.0067 589.4141152.6563
Module start 'layout' 0.00670.0031 742.070339.5078
Module start 'content' 0.00990.7821 781.5781424.9453
Module end 'content' 0.79200.0014 1,206.52348.0938
Script end 0.7934  1,214.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4264160.0002
Check MTime0.00140.1766160.0001
Mysql Total
Database connection0.00090.111910.0009
Mysqli_queries0.758495.5760460.0165
Looping result0.00040.0451440.0000
Template Total0.766096.520.3830
Template load0.00170.211620.0008
Template processing0.764396.328420.3822
Template load and register function0.00020.019710.0002
states
state_id_array0.00070.084710.0007
state_identifier_array0.00090.112820.0004
Override
Cache load0.00130.166640.0003
Sytem overhead
Fetch class attribute can translate value0.00080.104810.0008
Fetch class attribute name0.00060.073210.0006
XML
Image XML parsing0.00010.012210.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00070.0847100.0001
String conversion0.00000.001440.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