Home › Forums › Basel support forum › Products (grid or carousel) and WPML
Products (grid or carousel) and WPML
- This topic has 17 replies, 4 voices, and was last updated 5 years, 10 months ago by Artem Temos.
-
AuthorPosts
-
February 3, 2019 at 3:02 pm #105646
rutgerParticipantHi,
I have translated a page with WPML via the “WPML Translation Editor”. The original page has multiple products in various “Products (grid or carousel)” element. However on the translated page, each “Products (grid or carousel)” element only shows one product.
Kind regards,
RutgerFebruary 3, 2019 at 3:17 pm #105649
Elise NoromitMemberHello,
Thank you very much for choosing our theme and for contacting us.
Create the translation for all the products and check again. Make sure you have also translated the categories if you display products by a category.
Best Regards
February 3, 2019 at 3:24 pm #105652
rutgerParticipantAll the products and categories used have a translation. Maybe it is worth mentioning that the translations are all duplicates, so are synced with the original product.
February 3, 2019 at 9:30 pm #105686
Elise NoromitMemberHello,
Please provide your site admin access so that we could check the settings.
Best Regards
February 4, 2019 at 9:07 am #105746
rutgerParticipantCredentials can be found in private content.
February 4, 2019 at 9:57 am #105758
Elise NoromitMemberHello,
Please deactivate the blocking plugins http://prntscr.com/mgcrfg for the while we are checking.
I cannot access login URL.Best Regards
February 4, 2019 at 10:00 am #105759
rutgerParticipantI removed the password protection
February 4, 2019 at 10:47 am #105770
Elise NoromitMemberHello,
The reason is in the WPML configuration http://prntscr.com/mgdgv8
When I try to view home page in English and Dutch I see the same link.
You need correct configuration of WPML.
Best Regards
February 4, 2019 at 10:57 am #105778
rutgerParticipantWith the credentials I provided you are able to see the hidden language. But now I have unhidden the Dutch language so you are always able to see the Dutch home page.
February 4, 2019 at 2:36 pm #105817
Elise NoromitMemberHello,
Each language generates a separate ID for the product. http://prntscr.com/mgfikm
So, you need to add Dutch product ID to Dutch translation http://prntscr.com/mgfinlBest Regards
February 4, 2019 at 6:05 pm #105853
rutgerParticipantHi,
Thank you for checking. I am aware that the product ID’s are different, but these can be matched to the original language ID as can be seen with the first product.
I have removed the product that initially was shown, and the result is that the next product in the “Products (grid or carousel)” element is shown. This is the product from your screenshot with the different ID’s. http://prnt.sc/mgkcz4
So the product ID doesn’t seem to be the issue, but the number of products shown.
Kind regards
February 5, 2019 at 7:27 am #105924
Elise NoromitMemberHello,
Your product titles are the same in both languages when you insert the title you see two products and no option to detect which language this title relate to. Make three products with different titles in different languages, insert Dutch titles into Dutch and English into English
Best Regards
February 5, 2019 at 12:25 pm #105979
rutgerParticipantHi Elise,
I understand that if I make two separate pages an individually add the products in different languages with their unique ID’s it might work. But that means I can’t use the “WPML Translations Editor” anymore, so the theme isn’t fully compatible with WPML.
To illustrate the expected behavior I have added the same blocks, but with the original WooCommerce “Products” element. Here I can add the products in de original language, translate with the “WPML Translations Editor” and the products are also shown on the translated pages, with the translated products.
English page with both elements: https://prnt.sc/mgwctv
Dutch page with botch elements: https://prnt.sc/mgwd1vBut the theme overrides the styles of the standard WooCommerce Products element, so I can’t use that with 3 columns. Which is no problem, because I can use the theme specific “Products (grid or carousel)” element. But here the translations are a problem.
Page with both elements. both set to 3 columns: https://prnt.sc/mgwdzg
I hope the issue is clear to you now and you can help me with a solution.
Kind regards,
February 6, 2019 at 7:26 am #106099
Eric WatsonParticipantHello,
In this situation are you able to provide us your FTP access so we could troubleshoot it and provide you with a solution?
Kind Regards
XTemos StudioFebruary 6, 2019 at 10:04 am #106127
rutgerParticipantHi,
FTP access provided in the private’s content
Kind regards,
February 6, 2019 at 10:47 am #106142
Elise NoromitMemberHello,
The issue has been fixed. We shall release the next theme update with this fix as well.
Best Regards
February 6, 2019 at 4:10 pm #106207
rutgerParticipantHi,
Thanks for fixing this. I see it works perfectly now. Could you tell me what files are changed, so I can copy the fix to my production environment?
Kinds Regards,
February 6, 2019 at 9:32 pm #106235
Artem TemosKeymasterMove the folder
basel/inc/
completely. -
AuthorPosts
- You must be logged in to create new topics. Login / Register