Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Advanced Search


PNPNovice

Recommended Posts

Posted

I want to change the sort method to my own customized sort method that is used when I sort on the Products_Name column in the database. All I need to change is the "order by products_name" to my own "order by" code. I attempted to do this by changing the line in the advanced_search_result.php that originally had "$order_str = ' order by pd.product_name';" to my own "order by" sort order. After doing this I attempted to do a Advanced Search but when I click on a different result page number or click on "next" or "prev" it does the original sort. So what file do I have to modify to do this simple change? If the change needs to be done in advanced_search_result.php what line of code needs to be changed?

 

Please help me this should be a easy change.

Posted

I want to change the sort method to my own customized sort method that is used when I sort on the Products_Name column in the database. All I need to change is the "order by products_name" to my own "order by" code. I attempted to do this by changing the line in the advanced_search_result.php that originally had "$order_str = ' order by pd.product_name';" to my own "order by" sort order. After doing this I attempted to do a Advanced Search but when I click on a different result page number or click on "next" or "prev" it does the original sort. So what file do I have to modify to do this simple change? If the change needs to be done in advanced_search_result.php what line of code needs to be changed?

 

Please help me this should be a easy change.

 

I want to thank all the people here for the help you gave me. What am I saying there was no help given me here. But after lots of trial and error I finally figured it out myself.

Posted

I want to thank all the people here for the help you gave me. What am I saying there was no help given me here. But after lots of trial and error I finally figured it out myself.

 

I disagree - there is lots of help given here on the forums - and given for free by some very generous people who spend a lot of their time helping us less knowledgeable people. Sometimes you have to be patient for a reply, as this help is given as time permits.

 

Responses like yours are likely to really hack some people off and make them less inclined to help others.

 

Without the help of this forum I would not have my store up and running so smoothly - so from me - a VERY big thankyou!

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Archived

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

×
×
  • Create New...