Home Forums Basel support forum WPML and Theme Category Menu – Empty categories appearing in Meny

WPML and Theme Category Menu – Empty categories appearing in Meny

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #97817

    pierredemeudon
    Participant

    Hi,
    I translated my categories via woocommerce ML.
    2 issues

    1. The menu -contrary to the one in original language- includes empty category, what is a non-sense. See attached
    How to manage?

    2. Again on red category menu (see attached), for semantic / language reasons, I have to have different hierarchies of categories (category / sub-category) in French and English … as a matter of example, for the sole English “scarf”, we have different words in French: foulard, écharpe, carré, ….
    How to do?

    Attachments:
    You must be logged in to view attached files.
    #97929

    Hello,

    Try to synchronize menu in WPML if it does not help contact their support.

    Best Regards

    #97956

    pierredemeudon
    Participant

    Not sure to understand.
    1. The issue to have categories displayed whereas they are empty is related to your theme, we talked about it several weeks ago
    2. the issue is precisely not to synchronize, and you propose me to synchronize?

    #98005

    Hello,

    Have you translated each category? Please provide your valid site admin access.

    Best Regards

    #98031

    pierredemeudon
    Participant

    Thank you,
    info is attached
    You may say because of WPML but give me facts so that I can prove to WPML that it’s under their control … I don’t want to play table tennis between you, WPML, Wpbakery, Woocommerce, etc.

    #98117

    Hello,

    1. WPML just displays the translation. If you have, for example, this category in French http://prntscr.com/lywuxu it is not empty. You have synchronized menu and Hair accessories category is also displayed even though in Englis it is empty. You have not translated products in English that is why it is empty. http://prntscr.com/lyx33o But you have included this category in French menu so it is in English menu as well.

    2. Your screen is not clear. You are showing “non allocated” and talking about hierarchies. When you set to show the categories in the shop title, all the existing categories will be shown including Uncategorized. If you want to set the hierarchy, you configure this in Product > Categories as you did here http://prntscr.com/lyx9kq

    For more information please refer to WPML documentation or WPML support. We deal with issues related to our theme; WPML, WP bakery page builder and Woocommerce are not covered by our support. We always try to help in issues beyond our support scope at the same time we cannot solve all the third parties plugins issues.

    Best Regards

    #98134

    pierredemeudon
    Participant

    I do understand.
    My issue, and sorry for that, is that it’s particularly difficult to understand what causes what.
    In the case above, “non allocated” is not visible in French version, but it is in English. Due to theme? Due to WPML? Or other

    Time ago, to manage this, you gave me following snippet:
    .widget_product_categories ul>li.cat-item-15 {
    display: none;
    }

    So, I wonder if this specific snippet -out of default theme- is considered or not by wpml?

    #98231

    Hello,

    Seems this snippet was provided before you installed WMPL. This snippet touches only this category cat-item-15, as you see each category has its number http://prntscr.com/lz2r2v

    When you create a translation you are creating a category with its own number, that is why the category appears in one language and do not appear in another.

    If you want to hide the category in English try this code:

    .widget_product_categories ul>li.cat-item-1146 {
    display: none;
    }

    Best Regards

Viewing 8 posts - 1 through 8 (of 8 total)