Jump to content

Can I do this is my shopping cart?


king.oslo

Recommended Posts

Hello!

 

I have a database that contains information about products. One if which is how many items are in stock.

 

When a customer adds a product to his cart, the productID is added to his $_session['cart']. Is there a way that the browser of the other users can show the new stock amount', and if the user does not check the product out, but say, closes the session, the product stock will update again?

 

How would that be done.

 

Thanks!

 

Marius

Link to comment
https://forums.phpfreaks.com/topic/163075-can-i-do-this-is-my-shopping-cart/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.