The store allows tracking inventory on a product level. You can define the quantity for each product separately. Product quantity is automatically reduced when an item has been bought. When the quantity reaches zero, the product gets “Out of stock” status and can’t be ordered anymore. The store administrator gets notified about it.
Product quantity can be set in control panel → Catalog → Products → Product modify page → Stock Control block → Click “Manage” link.
or the “Unlimited” option can be selected. This option allows you to have this product always available for sale, as product quantity will never be decreased to 0 and, thus, will never be sold out. Unlimited quantity functionality usually is used for virtual products or services.
if you set product quantity, it will be automatically reduced after each purchase until it reaches zero. After that the product get “Out of stock” status and will not be available for sale. You can hide “Out of stock” products in your store using “Hide out of stock products” option in Control Panel → Settings → General → Cart. If you would like these products to be shown in your store, but not available for sale, you should switch this option off. You can easily get the list of the “Out of stock” products using the the special “Availability” filter. You should go to to Control Panel → Catalog → Products page and choose “Enabled , but out of stock” option in it.
Sometimes you need to get notified when the stock is low, but has not reached zero yet. In order to set the value that will be treated as “low” you should use the “Send me a note when quantity reaches” input box. Just enter the needed value there.
“Low stock” and “Out of stock” notifications are sent to email specified in Control Panel → Settings → Mail → Admin notifications → Send notifications to email field.