Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to change product priorty by price


Recommended Posts

Hi I need some help...Under my products I wanted the products listed by price order and I can't figure out how to change the sort order. Someone told me that it was in the index.php but I can't find the line where to change it.

Can someone lead me in the right direction please?!

Thanks

Link to comment
Share on other sites

You are looking for "order by", 13 occurances in index.php.

 

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

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

  • 1 month later...
You are looking for "order by", 13 occurances in index.php.

 

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

 

Hi,

 

I'm looking to sort by price, too. I have a question. If I change the "order by"s on the index.php page, will that affect the sort order in the individaul categories? That's really where i need them to sort by price.

 

 

Mike

Link to comment
Share on other sites

Hi,

 

I'm looking to sort by price, too. I have a question. If I change the "order by"s on the index.php page, will that affect the sort order in the individaul categories? That's really where i need them to sort by price.

 

 

Mike

 

The category listing is done by index.php

 

ttp://www.oscommerce.com/forums/index.php?showtopic=306310&hl=

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...