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!

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 31 2025 01:18:57
Script start
Timing: Jan 31 2025 01:18:57
Module start 'layout'
Timing: Jan 31 2025 01:18:57
Module start 'content'
Timing: Jan 31 2025 01:18:57
Module end 'content'
Timing: Jan 31 2025 01:18:57
Script end

Main resources:

Total runtime0.0219 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.3750151.2422
Module start 'layout' 0.00570.0041 739.6172220.7344
Module start 'content' 0.00980.0108 960.3516997.8359
Module end 'content' 0.02060.0012 1,958.187529.9922
Script end 0.0219  1,988.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.6865140.0002
Check MTime0.00114.8063140.0001
Mysql Total
Database connection0.00125.449310.0012
Mysqli_queries0.002511.591830.0008
Looping result0.00000.219810.0000
Template Total0.00083.710.0008
Template load0.00062.961910.0006
Template processing0.00020.743210.0002
Override
Cache load0.00042.044610.0004
General
dbfile0.00062.852080.0001
String conversion0.00000.032640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs