Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stock limits - possible?


skase98

Recommended Posts

Posted

I am trying to figure out how to make only one of each item available and, as they say, when it's gone, it's gone.

 

I tried using the stocking options in admin but it does not appear to limit the quantity to 1 only, with no reorder possible.

 

Thank you for any suggestions!

Posted

Go to admin > configuration > stock > set allow checkout to false. Then when a product goes out of stock a customer will be unable to order it.

 

It's a bit annoying because the product still shows up, but people are unable to checkout. Not sure about removing the item completely, other than marking the product out of stock.

Posted
Go to admin > configuration > stock > set allow checkout to false. Then when a product goes out of stock a customer will be unable to order it.

 

It's a bit annoying because the product still shows up, but people are unable to checkout. Not sure about removing the item completely, other than marking the product out of stock.

 

Thank you, Steve! I'll make those adjustments. We'll just have to be diligent about changing the out of stock status.

Posted

You could code it to be for each product check quantity and if quantity =0 then update the database products status to 0 so as to not show or use a simple if quantity !=0 code to show product

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted
You could code it to be for each product check quantity and if quantity =0 then update the database products status to 0 so as to not show or use a simple if quantity !=0 code to show product

 

Oh, my! That sounds beautiful but beyond my pitiful coding knowledge. Could you give me name of the file I would use and an example of what the string looks like? I'd love to try it!

 

And thank you!!!

Archived

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

×
×
  • Create New...