Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    9
    Plugin Contributions
    0

    Default Sorting question dealing with numbers.

    Please see this example.

    http://www.redrumloa.com/index.php?m...&cPath=182_183

    See how it sorts numbers? not 1-10 then 11-20 etc. No, it does 1, 10, 2 etc.

    Again, thank you for your kind assistance.

  2. #2
    Join Date
    Nov 2004
    Location
    Deal, Kent, UK
    Posts
    332
    Plugin Contributions
    0

    Default Re: Sorting question dealing with numbers.

    Do you mean the item names aren't being correctly sorted? If so then they are according to the item name. In that context ie a text string, a number is just treated as more text therefore in an alpha listing you get 2,201,3,301 etc.

    There are a number of places you can set sort orders - on the products themselves at the bottom of the entry page, or there are other settings in the various listing pages under Configuration which you could play around with.

  3. #3
    Join Date
    Aug 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Sorting question dealing with numbers.

    Hi!

    Here's the problem. I am trying to use Easy Populate to upload very large quantites of products and Easy Populate does not have a field for sort order. By default Zen Cart sorts alphabetically correct, but chokes on numbers 1, 11, 100, etc THEN 2. I'm hoping there is a way for it to sort numbers ascending correctly, then I won't need a special sort field.

  4. #4
    Join Date
    Nov 2004
    Location
    Deal, Kent, UK
    Posts
    332
    Plugin Contributions
    0

    Default Re: Sorting question dealing with numbers.

    Never used EZPopulate so can't advise I'm afraid. I'm sure someone else will be along in a moment

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sorting question dealing with numbers.

    Are you sorting based on products_name or based on products_sort_order
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Aug 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Sorting question dealing with numbers.

    Quote Originally Posted by Ajeh
    Are you sorting based on products_name or based on products_sort_order
    Product Name

    Thanks.

 

 

Similar Threads

  1. v150 Dealing with custom pruducts
    By easyonthetush in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 31 Aug 2012, 03:59 AM
  2. Dealing with quantity pricing?
    By craigtrombly in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 Dec 2010, 07:12 PM
  3. Dealing with multiple currencies
    By nev in forum General Questions
    Replies: 0
    Last Post: 29 May 2008, 06:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg