Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

out of stock / limit search results


tresseh

Recommended Posts

Hey guys. My client has a database of 10,000 records of which a good 50% are not in stock. As his business is rare/deleted records, his database is not only a catalog of products he sells, but a database of rare/deleted records in general.

 

He has asked for a rather odd request. He wants every product he has in his database show up on his site regardless of whether it is in stock or not, BUT he wants the site user to be able to limit the product listings to only show items IN stock if they wish. Is this possible to do? Where do i start?

Regards, Jay.

Link to comment
Share on other sites

The search query in advanced_search_results.php limits to "where status = 1" to check active prods only. You should make that a variable which gets posted from the searchbox.

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...