SHOP : basket.tpl > product view "line" can't be removed

Author Message

laurent le cadet

Wednesday 20 December 2006 7:55:29 am

Hi,

I'm customizing basket.tpl to render product list more attractive and using this line...

{node_view_gui view=line content_node=$Basket:ProductItem:item.item_object.contentobject.main_node}

...instead of the the simple

{$Basket:ProductItem:item.object_name}

But that way items can't be removed of the basket and I can't figure out why.

If I show attributes one by one that way...

{attribute_view_gui attribute=$Basket:ProductItem:item.item_object.contentobject.main_node.object.data_map.level}

...it works but it seems to me nicier to use a readymade template.

Someone has an idea ? A bug ?

Regards.

Laurent

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 00:33:18
Script start
Timing: Jan 19 2025 00:33:18
Module start 'layout'
Timing: Jan 19 2025 00:33:18
Module start 'content'
Timing: Jan 19 2025 00:33:19
Module end 'content'
Timing: Jan 19 2025 00:33:19
Script end

Main resources:

Total runtime1.0637 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.0066 588.1406152.6406
Module start 'layout' 0.00670.0034 740.781339.4766
Module start 'content' 0.01001.0522 780.2578437.4531
Module end 'content' 1.06220.0014 1,217.71098.1094
Script end 1.0637  1,225.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3481160.0002
Check MTime0.00130.1223160.0001
Mysql Total
Database connection0.00130.117810.0013
Mysqli_queries1.023296.1894460.0222
Looping result0.00040.0350440.0000
Template Total1.030596.920.5153
Template load0.00220.205820.0011
Template processing1.028396.673820.5142
Template load and register function0.00010.010210.0001
states
state_id_array0.00080.076110.0008
state_identifier_array0.00140.131120.0007
Override
Cache load0.00180.1680160.0001
Sytem overhead
Fetch class attribute can translate value0.00040.038410.0004
Fetch class attribute name0.00090.083520.0004
XML
Image XML parsing0.00060.054510.0006
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00080.0783160.0001
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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs