Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Basic Configuration / How to change the order of products displayed?

How to change the order of products displayed?

Started by luvstoxstitch on 24 Jun 2011, 6:13 PM · Views: 1,049

Results 1 to 6 of 6
24 Jun 2011, 6:13 PM
#1
luvstoxstitch avatar

luvstoxstitch

New Zenner

Join Date:
Jun 2010
Location:
Ohio
Posts:
36
Plugin Contributions:
0

How to change the order of products displayed?

I have my product list set up to be displayed alphabetically.
The problem I'm having is with numbers in the title. It numbers 1 10 2 instead of 1 2 10.

I've attatched a link to a page that has products with the problem.

http://www.needleworkfool.com/index.php?main_page=index&cPath=88_1_78

As you see it displays:

Little House Needleworks 2010 Ornament of the Month #1 Fa La La

Little House Needleworks 2010 Ornament of the Month #10 Under the Tree

Little House Needleworks 2010 Ornament of the Month #2 Pear Tree

Is there a way to get it to show the normal 1 2 3 4 5 6 7 8 9 10?

24 Jun 2011, 6:16 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to change the order of products displayed?

You could add a space ...

#<space>1
#<space>2
#10

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!

24 Jun 2011, 6:45 PM
#3
luvstoxstitch avatar

luvstoxstitch

New Zenner

Join Date:
Jun 2010
Location:
Ohio
Posts:
36
Plugin Contributions:
0

Re: How to change the order of products displayed?

Thanks so much! That does fix the product listing order.

When adding new products I like to sort products in the admin by model number. It sorts the products 1 10 2 also. I used numbers and letters for my model numbers. Such as:

MD1
MD10
MD11
MD2

Is there a way to display with normal 1 2 10 11?

24 Jun 2011, 6:55 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to change the order of products displayed?

Then you will need to use:
MD01
MD10
MD11
MD02

The sorts are alpha/numeric based not human eye based ... :cool:

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!

24 Jun 2011, 7:07 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: How to change the order of products displayed?

Or just assign sort orders to all your products one-by-one.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Jun 2011, 7:09 PM
#6
luvstoxstitch avatar

luvstoxstitch

New Zenner

Join Date:
Jun 2010
Location:
Ohio
Posts:
36
Plugin Contributions:
0

Re: How to change the order of products displayed?

Ajeh:

Then you will need to use:
MD01
MD10
MD11
MD02

The sorts are alpha/numeric based not human eye based ... :cool:
Thanks that will help. I guess I didn't really think about it. That makes sense:laugh:

I really didn't want to have to apply sort orders to each product. I only assign sort orders if a product is new and I want it at the top.

Thanks again for all the help guys!