Multiple Selection (Webshop)

Author Message

Sang Min Park

Thursday 27 May 2010 7:02:41 pm

I'm looking to add a multiple selection (checkbox), one, none, or all allowed. From other topics on the forums, it seems ezselection datatype to be appropriate, but not sure how to implement it. Should I just add ezselection to the product object? (or is it class?)

A workaround would be having a multioption for each option, but there is a lot of them, about 10 and I don't want the page to be too cluttered.

Please let me know if ezselection is the way to go, or examples if someone has already done something similar. Thanks

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 14:58:40
Script start
Timing: Jan 18 2025 14:58:40
Module start 'layout'
Timing: Jan 18 2025 14:58:40
Module start 'content'
Timing: Jan 18 2025 14:58:41
Module end 'content'
Timing: Jan 18 2025 14:58:41
Script end

Main resources:

Total runtime1.2609 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.0041 587.9141152.6250
Module start 'layout' 0.00410.0029 740.539139.4453
Module start 'content' 0.00711.2521 779.9844398.6328
Module end 'content' 1.25920.0017 1,178.61728.1641
Script end 1.2609  1,186.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2565160.0002
Check MTime0.00130.1019160.0001
Mysql Total
Database connection0.00050.038810.0005
Mysqli_queries1.225697.1997460.0266
Looping result0.00050.0390440.0000
Template Total1.233397.820.6166
Template load0.00240.189420.0012
Template processing1.230997.618420.6154
Template load and register function0.00020.018510.0002
states
state_id_array0.00120.098710.0012
state_identifier_array0.00180.145620.0009
Override
Cache load0.00200.155660.0003
Sytem overhead
Fetch class attribute can translate value0.00090.075210.0009
Fetch class attribute name0.00060.048110.0006
XML
Image XML parsing0.00010.009710.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00060.0483100.0001
String conversion0.00000.000540.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