WooCommerce can keep track of your quantities for you.
Stock management
- Turn on stock management and enter the quantity you hold.
- WooCommerce reduces it with every sale and shows « out of stock » at exactly the right moment.
- You decide whether backorders are allowed.
Key takeaway: well-managed stock stops you selling what you do not have — and reassures your customers.