The Best Way to Update Stock Levels in WooCommerce

WooCommerce includes product inventory settings for tracking stock quantities, managing backorders, and displaying availability in an online store.
The Best Way to Update Stock Levels in WooCommerce
Editorial Note: This article is an analytical summary inspired by the original piece published on November 19, 2026

WooCommerce stock can be changed on an individual product, through Quick Edit, or in bulk using one shared adjustment. These options are less suited to deliveries that change quantities across many SKUs. The built-in product importer accepts CSV files matched by product ID or SKU; WP All Import also supports XML and JSON, with files supplied by upload, URL, or FTP/SFTP.

A targeted import can use a supplier file containing only SKU and quantity. Map those columns to Product SKU and Stock Quantity, match existing products through the _sku field, disable creation of new products, and select only Stock Quantity for updating. WooCommerce then derives stock status from the quantity. If stock management is disabled for some products, Manage Stock must also be included; otherwise, those products remain untracked. Limiting the selected fields leaves prices, descriptions, images, and other product data untouched.

Supplier figures can also be transformed during import with PHP. For example, a function can add quantities from two warehouse columns, subtract a two-unit buffer, and clamp the result at zero: max(0, (int)$a + (int)$b - 2). This keeps the supplier file unchanged while applying the store’s stock policy as records are processed.

Author of the original text: Priscilla Asonibare (Breakdance)

Bring the latest industry updates to life. Download and test the most popular premium tools and extensions driving today’s WordPress innovations – fully accessible and ready for your next project.

Expand your technical knowledge. Browse our latest articles, performance head-to-heads, and essential workflows designed for modern creators.

Free Wordpress Builders