Hi @wildblumenliebe,
I see what you mean—having the “stock” column come out as null while everything else exports fine is confusing. Let’s quickly narrow it down:
First, a couple of clarifications that commonly explain null:
- Are these simple products or variable products? For variable products, stock is usually managed on the variation level, so the parent product’s stock will export as null. You’d need to include/export variations to see their stock.
- Is stock management enabled?
- Globally: WooCommerce → Settings → Products → Inventory → “Enable stock management”.
- Per product: Edit product → Inventory → “Manage stock” checked and a Stock quantity set. If “Manage stock” is off (or only “In stock/Out of stock” is used), the exporter will show null for the “stock” column.
Quick checks to try:
- One-product test Create a simple test product, enable Manage stock, set quantity (e.g., 7), save, then export including the “stock” column. If it shows “7”, the exporter is fine and your previous rows were null because stock wasn’t managed on those items (or they’re variable parents).
- Variations vs. parents If most of your catalog is variable, run an export that includes variations and check the “stock” column on the variation rows.
- Conflicts / customizations If the above doesn’t explain it, temporarily deactivate all plugins except WooCommerce and export again. Some inventory/CSV tools hook into the exporter (e.g., via woocommerce_product_export_column_stock) and can override values.
If you can, please share:
- Whether the affected items are simple or variable.
- A small CSV snippet (2–3 rows) showing a product you know has stock set but exports null.
- Your WooCommerce → Status → System Status Report (you can pastebin it again).
With that, we can point to the exact cause and get your stock values exporting correctly.
Hi @lovingbro,
you made my day. Your quick checks really helped sorting out the problem.
Thanks for the quick and good help.
Best regards
Henning
Hi @wildblumenliebe,
We’re so glad the quick checks helped sort things out and that your export is working properly again.
If you have a moment, we’d truly appreciate it if you could leave us a review. It helps others discover the support and tools we offer, and it means a lot to the team: https://wordpress.org/support/plugin/woocommerce/reviews/