Home › Forums › WoodMart support forum › BIG ISSUE with variations stock and out of stock products
BIG ISSUE with variations stock and out of stock products
- This topic has 4 replies, 2 voices, and was last updated 3 hours, 46 minutes ago by
RD.
-
AuthorPosts
-
April 3, 2025 at 12:08 pm #651387
RDParticipantHello,
I have on my site products with variations (color and sizes).
right now, on woocommerce setting I checked the checkbox to “hide out of stock product”.
so… on the front now I see all the products with the variations and for each product what variation is in stock or out of stock since it’s with the cross sign for each variation that is out of stock.untill here everything is ok.
what’s missing???
to show all the products that out of stock!
so in case I have product with variations that all the variations are out of stock I still want to show this product on the site with the lable – “out of stock”.no matter what I am trying to do I can’t show it!
I tried to disable the specific variation by checking the box to “unactive” inside each variation, I tried to add custom code and everything you can think of.I guess that this is something many users would be happy to have.
I want to show all my products on the site – even the products that out of stock!please check and tell me how to solve this issue.
I know that there are plugins that allow to do that but your theme is not allowing that.
if you can provide some custom code maybe or to add it to the theme features it would be great!April 3, 2025 at 4:27 pm #651525
Luke NielsenKeymasterHello,
Uncheck back the “hide out of stock product” checkbox, clear the cache and recheck the issue.
I await your response.
Kind Regards
April 3, 2025 at 8:45 pm #651591
RDParticipantit’s not working. check this video:
https://www.loom.com/share/e8f0c2d49eef4eeea779eaa074a26bdb?sid=6f443ca5-6906-4867-87b7-ac592832b5c0April 4, 2025 at 11:31 am #651719
Luke NielsenKeymasterHello,
The thing is that the “hide out of stock products” hides them from the Shop page at all, so there is no way to show out stock products when that option is enabled. Here is an article with more details – https://10web.io/blog/how-to-hide-out-of-stock-products-in-woocommerce/#:~:text=To%20hide%20out%20of%20stock%20items%20in%20WooCommerce%2C%20go%20to,changes%20to%20apply%20this%20setting.
At the same time, the out of stock styles for swatches will not work without that option – https://prnt.sc/j9LJ_LYAYXEB and that limitation comes from WooCommerce itself.
Kind Regards
April 4, 2025 at 1:00 pm #651737
RDParticipantHi,
I understand what you are saying but there are plugins that do what I need so I am not sure why your theme can’t do that?
below you can see a plugin link that doing that but I do not want to use it since you have most of the things I need in your theme.
can you check this plugin?
I installed it on my site so you can login to the backend and activate it to test it. -
AuthorPosts
- You must be logged in to create new topics. Login / Register