Home › Forums › WoodMart support forum › Free Gifts WPML Issue
Free Gifts WPML Issue
- This topic has 11 replies, 2 voices, and was last updated 1 week, 5 days ago by
Artem Temos.
-
AuthorPosts
-
September 26, 2025 at 6:30 pm #688308
nicholas-3663ParticipantHello,
I’m having a similar issue to this thread: https://xtemos.com/forums/topic/free-gift-is-not-adding-to-the-list/
When this thread was posted I had the issue again but it was fixed using your patch. We disabled gifts after a while and now after trying to enable them again it doesn’t work.The website is currently running on the latest version of woodmart and wordpress. I can add the free gifts to cart in the default language (English) without any issues. If I switch to the secondary language, I can see the free gifts translated correctly and when I click “Add to cart” I get a notification that the gift has been added to my cart but it does not show up.
The only way to get free gifts to work is if I enable translation for Free Gifts, create a translated version of the gift rule but then I see each gift item twice.
If I disable translation for Free Gifts, and add the secondary language product names, it also works but again I see double products.
Should translation be enabled by default for Free Gifts or not?
-
This topic was modified 3 weeks, 1 day ago by
nicholas-3663.
-
This topic was modified 3 weeks, 1 day ago by
nicholas-3663.
-
This topic was modified 3 weeks, 1 day ago by
nicholas-3663.
September 29, 2025 at 10:14 am #688493
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance
October 2, 2025 at 1:20 pm #688977
nicholas-3663ParticipantHello,
I have sent the logins.
October 3, 2025 at 10:38 am #689057
Artem TemosKeymasterWe just tested this on your website and it works correctly. Here is a video
-
This reply was modified 2 weeks, 1 day ago by
Artem Temos.
October 3, 2025 at 1:20 pm #689079
nicholas-3663ParticipantHello,
If you check in your video the gift products are showing up twice because of the translation.
October 3, 2025 at 5:36 pm #689120
Artem TemosKeymasterCould you please send us your FTP access information so we can troubleshoot the issue?
October 3, 2025 at 7:28 pm #689133
nicholas-3663ParticipantLogins sent.
October 6, 2025 at 12:41 pm #689281
Artem TemosKeymasterHello,
On your test site, we configured the correct operation of free gifts with WPML. To make this work on your main site, you first need to apply patch 689275, then in the WPML settings select Not translatable for Free Gifts – https://monosnap.ai/file/SMrMIekAH7vd1zYIpZk1Fctu98x6HM
– and delete all translations for the free gift rules.”October 6, 2025 at 12:44 pm #689285
nicholas-3663ParticipantHello,
If I apply the patch the site gives a critical error:
2025/10/06 12:43:08 [error] 1170188#1170188: *145260 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function XTS\Modules\Free_Gifts\woodmart_include_files() in /home/XXXXXXX/public/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/free-gifts/class-main.php:32
October 6, 2025 at 12:51 pm #689288
Artem TemosKeymasterSorry, we removed the old one and created new patch – 689286
October 6, 2025 at 3:44 pm #689316
nicholas-3663ParticipantWorking perfect. As always thank you for the quick fix.
October 6, 2025 at 4:03 pm #689319
Artem TemosKeymasterYou are always welcome. Feel free to contact us if you have any further questions.
-
This topic was modified 3 weeks, 1 day ago by
-
AuthorPosts
The topic ‘Free Gifts WPML Issue’ is closed to new replies.
- You must be logged in to create new topics. Login / Register