Classes Attributes Problem

Author Message

Mihai007 Pop

Sunday 01 January 2006 12:17:49 pm

I have changed my Product class and added a multioption attribute. Then I have created an actual product and saw that it had two multi-options already added. I have filled in my info with the price per option, and stored the product.

Tried to view it, but the options do not show up. Cleared caches and it still does not show the options on the product view page. (either admin or user interface)

What am I doing wrong? Can someone please help me out?

bisk

Monday 02 January 2006 5:17:59 am

Have you modified your product override template? You need to add some template code to output the ezmultioption view template for your new attribute.

example:

{attribute_view_gui attribute=$node.object.data_map.mynewattributeidentifier}

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Mihai007 Pop

Sunday 08 January 2006 4:59:28 am

Thanks for the fast reply - it worked :)

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 11:23:25
Script start
Timing: Jan 18 2025 11:23:25
Module start 'layout'
Timing: Jan 18 2025 11:23:25
Module start 'content'
Timing: Jan 18 2025 11:23:26
Module end 'content'
Timing: Jan 18 2025 11:23:26
Script end

Main resources:

Total runtime0.5728 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.0391152.6250
Module start 'layout' 0.00530.0023 741.664139.4453
Module start 'content' 0.00760.5636 781.1094493.1797
Module end 'content' 0.57130.0015 1,274.28918.3203
Script end 0.5728  1,282.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5737160.0002
Check MTime0.00130.2251160.0001
Mysql Total
Database connection0.00080.147210.0008
Mysqli_queries0.530692.6410570.0093
Looping result0.00090.1632550.0000
Template Total0.543194.820.2715
Template load0.00250.435420.0012
Template processing0.540694.370820.2703
Template load and register function0.00030.051310.0003
states
state_id_array0.00190.331410.0019
state_identifier_array0.00160.280720.0008
Override
Cache load0.00210.3587120.0002
Sytem overhead
Fetch class attribute can translate value0.00070.124520.0004
Fetch class attribute name0.00210.364730.0007
XML
Image XML parsing0.00020.042520.0001
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00200.3458100.0002
String conversion0.00000.001540.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs