When a customer's order is placed the quantity in stock reduces as per the order but when the store owner cancels the order in the dashboard, the quantity in stock will automatically get added back on the store.