• Hello. I have a problem with using Breadcrumb NavXT. I have put a link to a product: https://marvelpit.sk/en/product/explosion-proof-electric-multi-turn-actuator-mo-3-4-ex/
    You can see the whole category there, it’s ok. When you try to switch to SK, or RU version, the “Standard-ex” category drop out. How it’s possible? I tried to set only the lowest category in hierarchy, but I need to check all categories tree because of WPML (wpml is unable to set products etc.). How can I solve this issue? For WPML I need to check all category tree, for NavXT I need to set only the lowest category level.
    I don’t understand, why in English it works also with whole categories tree checked, but in another language not. Thank you

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik

    (@mtekk)

    When you only include the deepest term, is just the breadcrumb for the product archive page missing, or are some category breadcrumbs missing as well. This should not be happening. I’ll double check on my WPML testbed to see if I can recreate the issue (may take a few days for me to get to it).

    Why your current method may work in English and not in other langues has to do with the order that WordPress returns the categories in. This can appear to be somewhat arbitrary, and Breadcrumb NavXT will pick the first term with a parent (if the taxonomy is a hierarchical taxonomy). On the other languages, the returned term is likely before the deepest term in the hierarchy (but still has a parent term). This behavior can be overridden with the bcn_pick_post_term filter (https://github.com/mtekk/Order-Bender provides a GUI that does this, not sure how well it plays with WPML).

    Plugin Author John Havlik

    (@mtekk)

    Reviewing the behavior in WPML on my testbed, it appears things work correctly (though I only tested the Post post type, others should work as well). Switching to a different language doesn’t cause the term hierarchy to get jumped. I’m going to need a little more information on your setup to try to recreate it on my testbed. It would be helpful to know if when you only include the deepest term, is just the breadcrumb for the product archive page missing, or are some category breadcrumbs missing as well?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘NavXT with a combination with WPML doesn’t show the whole category hierarchy’ is closed to new replies.