Sort Quotes by date / quote number

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • heatherwebdev
    Mivite

    • May 2017
    • 157

    #1

    Sort Quotes by date / quote number

    I put the item quotehistory_list on the customer account page, hoping to be able to show the most recent quotes from there, but there's no default way to sort them. I have it set to do not paginate, and show 3 quotes per page but its showing the oldest 3 quotes. Anyway to get that to sort to show the newest first?
  • Bruce - PhosphorMedia
    Developer Partner











    • Mar 2006
    • 11257

    #2
    Here's resorting the basket items Last to First

    Code:
    <mvt:do file="g.module_library_utilities" name="l.test_success" value="QuickSortArray(l.settings:basket:groups, ':line_id', -1)" />
    
    <mvt:foreach iterator="group" array="basket:groups">
    So, find the variable value equivelant to "line_id" and bob's your uncle.
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment

    Working...
    X