Home Forums WoodMart support forum Swatch labels not displayed on default language

Swatch labels not displayed on default language

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #329337

    DELAYON
    Participant

    Hi there!

    Ihm running the Woodward theme with WPML. Since the last theme update, my swatch buttons are not displayed correctly. They are displayed in the landing page where i use a product carousel, however on the shop page itself, only one product shows the attributes correctly. I already contacted WPML as i assumed the mistake was on their end, since the swatches are displayed correctly in the english version. Unfortunately they told me they couldn’t find mistakes on their end and it seams like a theme error.
    Help would be appreciated!

    thanks!

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

    Artem Temos
    Keymaster

    Hello,

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_filter( 'woodmart_swatches_on_grid_right_order', '__return_false' );

    Best Regards.

    #329351

    DELAYON
    Participant

    Thank you!

    Any special position within the functions.php?

    #329359

    Artem Temos
    Keymaster

    Just place it at the bottom. It doesn’t matter for this code.

    #329366

    DELAYON
    Participant

    Ok i just noticed that i only have the parent theme, with woodmart and a deactivated basel theme being the only themes installed under :/wp-content/themes/

    If i insert it into the parent theme, it doesn’t do anything.

    #329373

    Artem Temos
    Keymaster

    Please, download the child theme and activate it on your website. Then add the code to the functions.php file in the child theme. You can download it from ThemeForest.

    #329376

    DELAYON
    Participant

    Sorry but i really have no experience in this. Where can i download it? is it a themes theme or WP?
    Is there a manual for that?

    #329398

    Artem Temos
    Keymaster

    You can read about that in our documentation https://xtemos.com/docs/woodmart/child-theme/
    All you need to do is to download the package from ThemeForest (in your account) and find the child theme zip file there. Then, go to Appearance -> Themes and install it as any other theme.

    #329438

    DELAYON
    Participant

    Thanks for the explanation. We have done so now however don´t se a different.
    The swatches still disappear on various sites as you can see from the pictures. The one, where all swatches are visible is from product carrousel.

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

    Artem Temos
    Keymaster

    In this case, please, send me your admin and FTP access so I can check what is wrong.

    #329461

    DELAYON
    Participant

    Hey!

    Please find all info below:

    #329541

    Artem Temos
    Keymaster

    Hello,

    This password seems to be wrong and we can’t access your admin panel.

    Kind Regards

    #332473

    DELAYON
    Participant

    Hey! Please find the updated info below:

    #332532

    Artem Temos
    Keymaster

    Could you please provide us with your FTP host? We can’t customize the file efficiently using this web interface.

    #334294

    DELAYON
    Participant

    Hi there! FTP was already provided earlier. However please find the info again below:

    #334297

    Artem Temos
    Keymaster

    Hi,

    Sorry, but we can’t connect to this host

    #334299

    DELAYON
    Participant

    Ok please check the following info to connect with the server – i thought you log into webftp…

    #334301

    Artem Temos
    Keymaster

    The problem seems to be caused by some of the installed plugins. When you switch to the German version, your products are recognized as “Simple” type and not “Variable” on the shop page. That is why swatches are not displayed since they work for variable products only.

    Here is EN version https://monosnap.com/file/LUL95HYuO2M1V6LyinD4NpUBmMAsaW
    And DE version https://monosnap.com/file/W48fxZqGzAtBllh2jWUoNUcgZJirB2

    #334302

    DELAYON
    Participant

    ok…so what can i do on my page to find the issue?
    Since the page is live, i can´t just turn off all plugins.

    #334303

    Artem Temos
    Keymaster

    We don’t know which plugins exactly are used on your website that influence this. It might be caused either by WPML or by this plugin + WPML.
    If you can’t troubleshoot this on your live website, we recommend you create a staging copy and test this.

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