Manage products in class

Author Message

Emilien MIOSSEC

Tuesday 16 February 2010 1:49:02 am

Hello everybody,I have just a question to manage a list of product with a class...I have many products which can have a "category" and "a type" and "a sub type". For the "categories" it's easy for me to create a Selection / Multiple choice / Attribute and use the same method for "the type" but my question is for the "sub type".How i can manage the "Sub type" knowing that it depends on the "type"?For exemple:-- Products can have "car category", in "fun type" and "yellow sub type" but if is "bad type" you don't choice "yellow sub type" but only "red or blue" ...Sorry for my english...Best regards

--------------------------------------------
Emilien MIOSSEC
Systalium - Developper
FRANCE (Dijon)
Systalium is eZ Silver Partner

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 05:14:42
Script start
Timing: Jan 18 2025 05:14:42
Module start 'layout'
Timing: Jan 18 2025 05:14:42
Module start 'content'
Timing: Jan 18 2025 05:14:43
Module end 'content'
Timing: Jan 18 2025 05:14:43
Script end

Main resources:

Total runtime0.6327 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.0075 589.0313152.6250
Module start 'layout' 0.00750.0031 741.656339.4453
Module start 'content' 0.01070.6206 781.1016461.5469
Module end 'content' 0.63130.0014 1,242.64848.1641
Script end 0.6327  1,250.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5418160.0002
Check MTime0.00140.2234160.0001
Mysql Total
Database connection0.00120.194610.0012
Mysqli_queries0.593793.8367460.0129
Looping result0.00040.0658440.0000
Template Total0.598994.720.2994
Template load0.00200.323120.0010
Template processing0.596894.331220.2984
Template load and register function0.00010.016410.0001
states
state_id_array0.00180.276610.0018
state_identifier_array0.00200.316020.0010
Override
Cache load0.00160.260550.0003
Sytem overhead
Fetch class attribute can translate value0.00060.089510.0006
Fetch class attribute name0.00090.145120.0005
XML
Image XML parsing0.00050.082210.0005
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00100.1611150.0001
String conversion0.00000.001640.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
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