Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is it possible? Removing stock when added to cart


Guest

Recommended Posts

Is it possible to have items removed from stock when they are added to the cart, rather than when they are checked out?

I sell mostly unique items also but removing them from stock upon adding to cart instead of checkout would give a big problem when a customer adds to cart but does not go through checkout. You could rewrite the code for stock handling but if that is a good idea ?!

Link to comment
Share on other sites

That's fine, they can just be added to again after a certain amount of time.

 

Okay, so it isn't possible. Would it be hard to modify the code to make it possible?

Link to comment
Share on other sites

That's fine, they can just be added to again after a certain amount of time.

 

Okay, so it isn't possible. Would it be hard to modify the code to make it possible?

 

very simple but I can then go to your site, add all products to my cart and......leave.

Leaving your entire shop useless for anybody else untill you update your stock again.

Treasurer MFC

Link to comment
Share on other sites

very simple but I can then go to your site, add all products to my cart and......leave.

Leaving your entire shop useless for anybody else untill you update your stock again.

 

The best thing you can do is a final stock check after confirmation and before order processing in checkout_process.php. If the stock is no longer there at that time, redirect back to the cart with a message.

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...