best_sell_list and main node only

Author Message

Marko Žmak

Wednesday 03 June 2009 4:47:29 pm

I have a problem with fetching most sold products. I would like to fetch best_sell_list from a subtree, but the products are added in this subtree as aditional location, and not as main node. And it seems that best_sell_list fetches only main nodes, so when I fetch it from this subtree I get nothing.

I there a way to solve this? Would an upgrade to eZ 3.10 help?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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

Main resources:

Total runtime0.0235 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.0050 588.1563151.2109
Module start 'layout' 0.00500.0040 739.3672220.6875
Module start 'content' 0.00910.0128 960.0547993.7109
Module end 'content' 0.02190.0016 1,953.765629.9922
Script end 0.0234  1,983.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002812.0561140.0002
Check MTime0.00125.1602140.0001
Mysql Total
Database connection0.00072.834110.0007
Mysqli_queries0.00239.989130.0008
Looping result0.00000.054910.0000
Template Total0.00114.710.0011
Template load0.00093.921510.0009
Template processing0.00020.767210.0002
Override
Cache load0.00072.775210.0007
General
dbfile0.00125.306580.0002
String conversion0.00000.033540.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