Home › Forums › WoodMart support forum › Woodmart reviews in wrong language in combination with WPML and Litespeed
Woodmart reviews in wrong language in combination with WPML and Litespeed
- This topic has 41 replies, 2 voices, and was last updated 1 month, 1 week ago by
Hung Pham.
-
AuthorPosts
-
September 2, 2024 at 8:47 am #594304
Hung PhamKeymasterHello henk.devries,
First of all, I wanted to say that I am appreciate your patience.
After checking this product, I see that the comments for this product do not work with the default theme as well https://monosnap.com/file/w6nDIRzkgtrqnGY2DpKzvrlCAbb83I, so most likely this problem is in the WMPL plugin.
Regards,
September 2, 2024 at 12:53 pm #594449
henk.devriesParticipantHello,
Please check product Laila in Dutch. There you can see the difference between Storefront and Woodmart. It works fine on Storefront, not on Woodmart. I have added a screenshot to show it.
Attachments:
You must be logged in to view attached files.September 3, 2024 at 10:47 am #594775
Hung PhamKeymasterHello henk.devries,
I checked that product with WoodMart theme and review are shown in Dutch as well https://prnt.sc/tGbMBXQzO1rN
Regards,
September 18, 2024 at 1:24 pm #598271
henk.devriesParticipantHi,
Please see the attached example in French. When logged in, everything is fine and translated in French.
When logged out, it is in German.https://doll.shop/fr/produit/sexpuppe-yara-158-cm/
Attachments:
You must be logged in to view attached files.September 20, 2024 at 7:06 am #598715
Hung PhamKeymasterHello henk.devries,
First of all, I’m really sorry have taken long time to reply you.
It’s very strange. Can you please disable cache plugin and check again? Then, switch to default theme to see if it works.
Regards,
January 17, 2025 at 11:25 am #630501
henk.devriesParticipantHello,
Sorry for our late response.
It seems like it is not cache related. We have disabled and removed Litespeed and Cloudflare cache, but result is the same. In default (or any other) theme it works fine. In Woodmart it remains a problem.See the attached image for clarification. This concerns: https://doll.shop/de/produkt/dutchdoll-tiana-159-cm/#reviews
January 17, 2025 at 11:26 am #630502
henk.devriesParticipantAnd now with attached image.
Attachments:
You must be logged in to view attached files.January 20, 2025 at 3:31 pm #631165
Hung PhamKeymasterHello henk.devries,
Would you mind if I deactivate extra plugins for testing? Please confirm me back.
Regards,
January 20, 2025 at 3:32 pm #631167
henk.devriesParticipantHi,
Yes, that is fine, as long as they get enabled after testing.
January 21, 2025 at 5:55 am #631338
Hung PhamKeymasterHello henk.devries,
Try to add the following PHP code snippet to the child theme functions.php file to fix this
add_action('woodmart_product_reviews_args', function ($args) { global $woocommerce_wpml; if ( isset( $woocommerce_wpml->comments) ) { $comments_instance = $woocommerce_wpml->comments; remove_filter( 'the_comments', array( $comments_instance, 'translate_product_ids' ), 10, 1 ); } return $args; });
Regards,
January 21, 2025 at 8:26 am #631364
henk.devriesParticipantThis seems to be the solution. Thank you!
January 21, 2025 at 1:46 pm #631481
Hung PhamKeymasterHello henk.devries,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register