The stock is now dynamic, when a product is added the stock decreases and when a product is removed from the shopping cart the stock increases.
minor changes