Product options for a group of products

Author Message

Zdenek Ziegler

Saturday 18 June 2005 10:02:32 am

Hi,
I want to have more groups of options in one place in the admin - I have folder Properties where I put them. I created a new class Property, with attribute multi-option. Then I want to assign this Property to a folder of products or to one product. So in both product and folder classes I added attribute Object relations, and then created relations between Property and Folder.
The goal is to change the property in one place in the admin and all products or group of products have the property updated.
I was successful to display this properties in product detail, but I don't know how to display them in the basket. When I added this properties within the Add to basket form, I got kernel error in ezshopoperationcollection.php on line 197.
Also, I want to count the price of the property as percent of product price - any idea how to achive this?The only idea I have is to change the multi-option datatype or create a new datatype.
Thank's for your help,
Zdenek

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 03:12:34
Script start
Timing: Jan 18 2025 03:12:34
Module start 'layout'
Timing: Jan 18 2025 03:12:34
Module start 'content'
Timing: Jan 18 2025 03:12:34
Module end 'content'
Timing: Jan 18 2025 03:12:34
Script end

Main resources:

Total runtime0.5935 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.0056 589.4766152.6406
Module start 'layout' 0.00560.0029 742.117239.4766
Module start 'content' 0.00850.5836 781.5938401.8672
Module end 'content' 0.59210.0014 1,183.46098.1406
Script end 0.5935  1,191.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5650160.0002
Check MTime0.00140.2346160.0001
Mysql Total
Database connection0.00070.117910.0007
Mysqli_queries0.555993.6631460.0121
Looping result0.00040.0639440.0000
Template Total0.565495.320.2827
Template load0.00200.330620.0010
Template processing0.563494.933920.2817
Template load and register function0.00010.025110.0001
states
state_id_array0.00080.130610.0008
state_identifier_array0.00130.227020.0007
Override
Cache load0.00150.2597100.0002
Sytem overhead
Fetch class attribute can translate value0.00070.112210.0007
Fetch class attribute name0.00050.090110.0005
XML
Image XML parsing0.00020.026410.0002
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00140.2411100.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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.0002 secs