• Resolved inweco

    (@inweco)


    At the moment I’m working on two wordpress websites which are owned by a friend of mine. Both of those websites use woocommerce as a shop. Both websites display the same content and products. The only difference is that they are setup in different languages (german and english). Both shops use main-categories and sub-categories like this:

    Main category 1 — Sub-category 1 in main 1 — Sub-category 2 in main 1
    Main category 2 — Sub-category 1 in main 2 — Sub-category 2 in main 2
    Main category 3 — Sub-category 1 in main 3 — Sub-category 2 in main 3
    The sub-categories contain the different products. The main categories are setup to only display the sub-categories while the sub-categories are setup to only show the products.

    Yesterday I realized that on the german website that none of the main-categories and sub-categories are displayed anymore. The products are still there and can be viewed through the direct link but the shop navigation itself doesn’t show anything. After several hours of trying to find the reason for this I found out that this is happening because all the products are setup to only be a part of the sub-categories and not the main-categories. When I change the settings of the products that they also belong to the main-category then everything works like it used to.

    The most surprising thing about all of this is that the english website works just fine and doesn’t have this issue at all. Both websites use the same template and the same plugins. The versions of wordpress, the template and all the plugins are also the same on both sites. There are however a few code-snippets that are used only on the german website. I deactivated all of them yesterday and the issue was still there which leads me to believe that those can’t be the reason for this issue.

    I would love to post some code along with this question, but I have no idea which code to display here. Does anybody have an idea about how I could try to figure out this issue? I really don’t know what else to try. Any help would be appreciated. Thanks in advance.

    P.S.: I tried disabling all the plugins. If I do that this error doesn’t occurr anymore. I then activated all plugins again and tried to disable one by one. This however didn’t get me to a solution either.

    • This topic was modified 3 years, 11 months ago by inweco. Reason: Deleted comment-content from a different forum
    • This topic was modified 3 years, 11 months ago by inweco. Reason: Added additional info
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shohan Hossain Nabil – a11n

    (@sohanhossain)

    Hi @inweco!

    I tried disabling all the plugins. If I do that this error doesn’t occurr anymore. I then activated all plugins again and tried to disable one by one. This however didn’t get me to a solution either.

    Did you mean the problem gets resolved on its own when you disable all the plugins except WooCommerce? If this is the case, this must be a plugin conflict. Could you please perform a conflict test one more time by following the below steps? Let us know the result.

    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Thanks!

    Thread Starter inweco

    (@inweco)

    Hi @sohanhossain
    thank you for your reply. I just did the described conflict-test an the error still occurrs. Within the past few days I have done some more research and I can say for sure now, that this issue is created when saving the details to a product. Whenever I do that the terms get calculated wrong. Even when I re-calculate the terms the error still occurrs. Other than that I didn’t get any further in regards to this issue. Do you have any other idea about why this is happening? Thanks

    Plugin Support Shohan Hossain Nabil – a11n

    (@sohanhossain)

    Could you please provide us with a screenshot so that we can see what you are describing?

    If you don’t already have a screenshot service installed, here are a few free options:

    Thanks!

    Plugin Support Shohan Hossain Nabil – a11n

    (@sohanhossain)

    Hello @inweco,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce doesn’t display product-categories [closed]’ is closed to new replies.