Results 1 to 8 of 8

Hybrid View

  1. #1
    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

  2. #2
    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!

  3. #3
    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.

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

    Default Re: Sorting question dealing with numbers.

    Product Name is text ...

    As text, you have to write text in a proper alpha/numeric method

    test 1
    test 11
    test 111
    test 2
    test 222
    test 3
    test 4

    Or ...
    test 1
    test 11
    test 111
    test 2
    test 222
    test 3
    test 4

    Or ...
    test 001
    test 011
    test 111
    test 002
    test 222
    test 003
    test 004

    Or ...
    Stick in your physical 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!

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

    Default Re: Sorting question dealing with numbers.

    NOTE: a cleaner "Looking" way, but you may need to think a bit more ... as you are trying to force alpha sorts to visually look correct ...

    It would be nice if computers had a clue and understood that:

    test 1
    test 2
    test 11
    test 22
    test 222
    test 111
    test 3

    Does not sort as:
    test 1
    test 11
    test 111
    test 2
    test 3
    test 22
    test 222

    So, when using alpha/numeric you have to help it a bit ...

    Now, you could think out side the box and count spaces

    If you know you will have:
    Test 1
    Test 11
    Test 111

    And not go higher than 3 digit ... multiple spaces do not show ... so enter the spaces ... where there visually is a space bar or the word space is written, hit the space bar between the Text and number:

    Test spacespace1
    Test 222
    Test spacespace3
    Test spacespace2
    Test space22
    Test space11
    Test space33
    Test spacespace4
    Test 111
    Test 333

    Will sort correctly ...
    Last edited by Kim; 13 Aug 2006 at 03:03 PM.
    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!

 

 

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