Problem with products not showing in category
-
Hello there
Few months ago I created a store with woocommerce and I have an issue that still haven’t found any solution and still not sure what is causing this issue.
I have multiple categories with many products in each category. Every now and then these products disappear for no reason. They are public but they don’t show up in category or on search bar.
After many hours of research I have only found that the only way to make those product appear in the category and in search, is by going on products and make them a feature products or un-featured the products if they already featured, or do any other change on those product ( I just found that fastest way was to featured or unfeatured them)
If I do that , it’s like make the database or the products to wake up and show up again on the store. The point here is that when this happens and products deseappear , I have to make a change on the product in order to make them show up, otherwise products will stay hided.
I’m not sure what is causing this issue but I have a thought which I haven’t check it yet. I think that this happens whenever there is a new woocommerce update and when I do the update and update database. but still not sure about that, I will check it on the next woocommerce update if happen again.
However the funny about this issue is that on staging site , products are not disappered from categories and in general staging site it seems that it hasn’t got this issue with the products. (staging is hosted on same server)
So the first question is this:
1) is anybody have faced the same issue and if yes, is there any solution?
2) Is there anybody can help me with SQL query that i can run on database table that select all the products and make them featured or make them unfeatured at once? (This will save me a lot of time, because every time this happens , I have to select products in bulk on each category and save changes, then move to next page to the same etc… it’s hard to do for 30k products.)
I will aprreciate any help.
Thanks
- The topic ‘Problem with products not showing in category’ is closed to new replies.