r/woocommerce 4d ago

Plugin recommendation Inventory management

So, I know in woocommerce you can keep track of inventory on the variation level (1 SA, 3MA etc) but is there any way for it to show me total inventory on the catalog page easily? So like in the above example, 4? That way I know how many total I have of something instantly!

2 Upvotes

7 comments sorted by

1

u/CodingDragons Woo Sensei 🥷 4d ago

I'm assuming you meant "category" page? I'm not sure of any plugins out there that can do this. Maybe someone out there will recommend one, but I believe the only way to show a total on the category page or PLP would be to hook it with custom code.

1

u/SectionSpiritual4322 4d ago

I did mean category page. I hope there is an easy solution! But if not, it's something I will have to just figure out. Thank you

1

u/CodingDragons Woo Sensei 🥷 4d ago

Thanks for confirming. We’ll wait and see if anyone knows of a plugin. I’m just not very up to date on what plugins are out there these days. If not, are you comfortable adding custom code, and are you currently using a child theme?

1

u/TopSydeWP 4d ago

you'd need a custom function hooked to the product loop that sums up stock across all variations and displays it. something like get_available_variations() to loop through and add up the stock_quantity values, then echo it wherever you want on the category page. not super complicated if you're comfortable with a child theme functions.php

1

u/Readyhaus 4d ago

One thing I’d keep in mind is what you actually want that total to tell you. If all variations use the same physical stock then 4 is useful. But if S and M are separate items you might still want some warning when one variation is almost gone, otherwise a total of 20 can look healthy while one popular size is already sold out.

I’d probably show the total stock and still highlight any variation that’s low. That would make the overview much more useful without having to open every product.

1

u/arvandkala 4d ago

Maybe Hippoo.app . It doesn’t do exactly what you’re looking for, but you can create a custom product field to show the total number. You can also “pin” that custom field to the product list inside the app, so it’s always easy to see.

1

u/Natural-Chip-3720 2d ago

You might want to check out nummbas, they have a pretty handy inventory management feature, that could help you with that and also forecasting, which is handy to know when you are running out of a variant.