Provide sort option for basket

Author Message

Jorge estévez

Friday 19 September 2008 1:25:06 pm

Issue <strong>#008903: Provide sort option for basket<strong> at: http://issues.ez.no/8903 has not been resolved yet...

I am using ez 3.10 and I need to sort my basket, any ideas?

I would like to show the items in the same order they were added to the basket. It's a bit confusing once a customer adds an item and it shows in the middle of the list, locating an item in a long list could be annoying...

thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

André R.

Saturday 20 September 2008 5:42:18 am

You can use some sort of array sort function (several extensions that gives you access to this) and sort on the 'id' value, or you can try the patch in the issue..

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jorge estévez

Sunday 28 September 2008 3:14:31 am

The patch works...
thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

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 06:28:43
Script start
Timing: Jan 31 2025 06:28:43
Module start 'layout'
Timing: Jan 31 2025 06:28:43
Module start 'content'
Timing: Jan 31 2025 06:28:43
Module end 'content'
Timing: Jan 31 2025 06:28:43
Script end

Main resources:

Total runtime0.0119 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.1328151.2109
Module start 'layout' 0.00440.0021 739.343836.6484
Module start 'content' 0.00650.0041 775.992290.1406
Module end 'content' 0.01060.0012 866.132833.9922
Script end 0.0118  900.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002218.6815140.0002
Check MTime0.00108.2557140.0001
Mysql Total
Database connection0.00043.644210.0004
Mysqli_queries0.002117.537230.0007
Looping result0.00000.084510.0000
Template Total0.00087.110.0008
Template load0.00065.273210.0006
Template processing0.00021.806010.0002
Override
Cache load0.00043.626110.0004
General
dbfile0.00032.184180.0000
String conversion0.00000.060340.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