Home / Forums / WoodMart support forum / Swatch labels not displayed on default language
Home › Forums › WoodMart support forum › Swatch labels not displayed on default language
Swatch labels not displayed on default language
- This topic has 19 replies, 2 voices, and was last updated 3 years, 11 months ago by
Artem Temos.
-
AuthorPosts
-
November 3, 2021 at 8:14 am #329337
DELAYONParticipantHi 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.November 3, 2021 at 9:25 am #329349
Artem TemosKeymasterHello,
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.
November 3, 2021 at 9:28 am #329351
DELAYONParticipantThank you!
Any special position within the functions.php?
November 3, 2021 at 10:10 am #329359
Artem TemosKeymasterJust place it at the bottom. It doesn’t matter for this code.
November 3, 2021 at 10:32 am #329366
DELAYONParticipantOk 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.
November 3, 2021 at 10:48 am #329373
Artem TemosKeymasterPlease, 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.
November 3, 2021 at 10:56 am #329376
DELAYONParticipantSorry 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?November 3, 2021 at 12:20 pm #329398
Artem TemosKeymasterYou 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.November 3, 2021 at 2:49 pm #329438
DELAYONParticipantThanks 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.November 3, 2021 at 3:45 pm #329448
Artem TemosKeymasterIn this case, please, send me your admin and FTP access so I can check what is wrong.
November 3, 2021 at 5:29 pm #329461
DELAYONParticipantHey!
Please find all info below:
November 4, 2021 at 8:30 am #329541
Artem TemosKeymasterHello,
This password seems to be wrong and we can’t access your admin panel.
Kind Regards
November 17, 2021 at 9:27 am #332473
DELAYONParticipantHey! Please find the updated info below:
November 17, 2021 at 12:40 pm #332532
Artem TemosKeymasterCould you please provide us with your FTP host? We can’t customize the file efficiently using this web interface.
November 24, 2021 at 2:48 pm #334294
DELAYONParticipantHi there! FTP was already provided earlier. However please find the info again below:
November 24, 2021 at 2:55 pm #334297
Artem TemosKeymasterHi,
Sorry, but we can’t connect to this host
November 24, 2021 at 3:02 pm #334299
DELAYONParticipantOk please check the following info to connect with the server – i thought you log into webftp…
November 24, 2021 at 3:15 pm #334301
Artem TemosKeymasterThe 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/W48fxZqGzAtBllh2jWUoNUcgZJirB2November 24, 2021 at 3:31 pm #334302
DELAYONParticipantok…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.November 24, 2021 at 3:42 pm #334303
Artem TemosKeymasterWe 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. -
AuthorPosts
- You must be logged in to create new topics. Login / Register