Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Permanently displaying products in ascending order of price


ryana2

Recommended Posts

Anyone know how this can be done?

It is possible as I've seen another persons site with this...but mine are just listed willy nilly.

I would like them to appear from least expensive to most expensive...

 

Any help is, as always, grreatly appreciated!

 

Aoife

Link to comment
Share on other sites

I think you will find they are in the order of data added.

 

http://www.w3schools.com/sql/sql_orderby.asp

 

Look for order by in the code and work out which order by you need to change

 

order by products_price

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...