Forums / Developer / How to access basket attributes from /shop/userregister

How to access basket attributes from /shop/userregister

Author Message

Albert Hornos

Monday 19 September 2005 2:09:19 am

Hi!
Could anyone tell me how can I access to basket attributes when I'm at /shop/userregister screen?
Specifically I need to access to the product list and I've tried with $basket and $order but these don't exists.

Tank you!

Albert Hornos

Monday 19 September 2005 2:59:05 am

Ok I've solved the problem
The only thing that I've need it has been a simple fetch:

{let basket=fetch( 'shop', 'basket')}

I hope it will help others!

eZ debug

Timing: Jan 18 2025 11:37:49
Script start
Timing: Jan 18 2025 11:37:49
Module start 'content'
Timing: Jan 18 2025 11:37:51
Module end 'content'
Timing: Jan 18 2025 11:37:51
Script end

Main resources:

Total runtime1.4598 sec
Peak memory usage4,096.0000 KB
Database Queries53

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9375180.8125
Module start 'content' 0.00511.4503 768.7500429.4844
Module end 'content' 1.45530.0044 1,198.234442.0703
Script end 1.4597  1,240.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00260.1780140.0002
Check MTime0.00120.0791140.0001
Mysql Total
Database connection0.00060.037810.0006
Mysqli_queries1.427097.7544530.0269
Looping result0.00050.0340510.0000
Template Total1.432198.120.7160
Template load0.00200.136820.0010
Template processing1.430197.966020.7150
Template load and register function0.00030.019610.0003
states
state_id_array0.00080.051610.0008
state_identifier_array0.00120.083120.0006
Override
Cache load0.00160.1080120.0001
Sytem overhead
Fetch class attribute can translate value0.00080.051510.0008
Fetch class attribute name0.00120.080120.0006
XML
Image XML parsing0.00010.006410.0001
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00070.0492120.0001
String conversion0.00000.000330.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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