Home Forums WoodMart support forum WPML with Quick View not Working / Custom Category Header with WPML

WPML with Quick View not Working / Custom Category Header with WPML

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #244203

    IMeedia
    Participant

    English is not my Default language but this shouldn’t be a problem. Quick view is doing some tricks :/ You can see it here: https://eastpole.ee/demosite/eastpole/en/product-category/clothes/
    Add to Cart, Product page, etc is all good. But not sure why “Quick view” opens in Estonian and also all the links there (View details – takes to Estonian Product, Lisa korvi – adds into Estonian Cart) do EST actions but content is actually right.

    Is it possible to set different Headers (created with Header builder) / Footers to Product Categories / Tags / Post Categories in different languages? Wouldn’t like to translate them with WPML but to have all Headers and Footers created in different languages. It would be easier to change them later. Couldn’t find a way except coding in files but maybe there’s a better way.

    #244221

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
    Sorry, but there is no option in our Theme to set different headers and footer for special categories and tags pages.

    Thank you in advance

    #244302

    IMeedia
    Participant

    I added my admin below. But why I asked is there some whortcodes with Headers is because I’d use something like:
    <?php
    if (ICL_LANGUAGE_CODE == “en”) {
    //show the form in French
    } elseif (ICL_LANGUAGE_CODE == “de) {
    //show the form in German
    } else {
    //show the default form in Estonian
    }
    ?>
    .. not wure what’s used right now but something like that should work. I just need a shortcodes I could use adding in Header file.

    Thanks ahead,
    Mattias

    #244320

    Artem Temos
    Keymaster

    Try to enable the following option in WPML -> Languages https://gyazo.com/454c2934dd4e049eb6e57e45425edb69

    #244355

    IMeedia
    Participant

    Ok, cool. That worked, thanks. Now just this Shortcode for Header Template (that I could add different headers based on language customer is in with WPML).

    Thanks again,
    Mattias

    #244533

    Hello,

    In order to translate the header, you need to create a cloned header with the translated content and then assign them to each other in the String Translation.

    Please find the detailed instruction on how to do that: https://xtemos.com/docs/woodmart/faq-guides/translate-header-wpml/

    Best Regards

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