multioption2 with standard values

Author Message

HÃ¥vard Bergersen

Thursday 30 April 2009 3:54:13 am

I am developing a webshop with shoes.
I am now usin multioption2 for selecting shoe size.

But when adding a new product from the admin interface, I have to add one size at a time, and that is not very convenient. Is there a way to define som standard values to the multioption2 when creating a new product?

Or should I use the "range option" datatype?
(the admin interface for range option is very good, and i would prefer if I could use that, but then I have the problem when adding a product to the basket and getting the chosen shoe size to go along in to the basket.

Is this understandable?
Someone have some good advise?

Thanks for all help.

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 01:06:44
Script start
Timing: Jan 19 2025 01:06:44
Module start 'layout'
Timing: Jan 19 2025 01:06:44
Module start 'content'
Timing: Jan 19 2025 01:06:45
Module end 'content'
Timing: Jan 19 2025 01:06:45
Script end

Main resources:

Total runtime0.8019 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.0063 589.1641152.6250
Module start 'layout' 0.00630.0045 741.789139.4609
Module start 'content' 0.01080.7894 781.2500436.5156
Module end 'content' 0.80020.0017 1,217.76568.1563
Script end 0.8019  1,225.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4557160.0002
Check MTime0.00140.1764160.0001
Mysql Total
Database connection0.00090.107710.0009
Mysqli_queries0.750893.6196460.0163
Looping result0.00050.0571440.0000
Template Total0.750993.620.3755
Template load0.00210.267420.0011
Template processing0.748793.368020.3744
Template load and register function0.00020.021010.0002
states
state_id_array0.00170.217310.0017
state_identifier_array0.00250.307120.0012
Override
Cache load0.00170.2123120.0001
Sytem overhead
Fetch class attribute can translate value0.00160.200910.0016
Fetch class attribute name0.00070.092020.0004
XML
Image XML parsing0.00550.681110.0055
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00770.9559160.0005
String conversion0.00000.001140.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs