Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Listing Woes


timskorch

Recommended Posts

I have products whose names begin with numbers but a product beginning with 10 is listed before product beginning with 1-9 Like this:

 

10 product

11 product

2 product

3 product

4 product

5 product

6 product

7 product

8 product

9 product

 

Is there any way to resolve this?

Link to comment
Share on other sites

I have products whose names begin with numbers but a product beginning with 10 is listed before product beginning with 1-9 Like this:

 

10 product

11 product

2 product

3 product

4 product

5 product

6 product

7 product

8 product

9 product

 

Is there any way to resolve this?

Best thing is not to rely on this kind of manipulation of the product names because this is a string field and therefore not sorted logically like numerical fields.

 

Take a look at this contribution which gives a sort field to the individual products.

 

HTH

Link to comment
Share on other sites

Thank you I'll check out the contribution. I guess I should have explained that the number is part of the item name and really what defines the item, the rest of the name is pretty much the same between items per category so I'm pretty much locked in to this "kind of manipulation" by my products very nature.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...