Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing Product From Display When Unavailable


gregdavidson

Recommended Posts

Posted

I plan on using my Oscommerce shopping cart to sell items that are "unique" and in most cases I will only have one available. Is there any way to configure the shopping cart to where unavailable items no longer display?

Posted

Maybe I should rephrase this question since I just read in another post that products actually are removed from the website when they are out of stock. Is this true?

Posted

Look at the options in the Stock section of the shop admin.

 

Or you could amend the select statements to only show items in stock.

 

There are a mltitude of ways to achieve your aim.

 

Enjoy

 

G

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 ======>>>>>.

Posted

I'm using Oscommerce 2.2 Milestone. Can I still achieve what I'm trying to do using this version? Also, can you please be specific as to what I should do to get this done.

 

Look at the options in the Stock section of the shop admin.

 

Or you could amend the select statements to only show items in stock.

 

There are a mltitude of ways to achieve your aim.

 

Enjoy

 

G

Posted

The version is not a problem but without doing it can be more specific than find every place where there is sql to "select" products and add in to the where clause sql to the effect of "and stock > 0".

 

For more on sql see www.w3schools.com.

 

Start with index.php and /includes/modules/product_listing.php.

 

Enjoy

 

G

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 ======>>>>>.

Archived

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

×
×
  • Create New...