Good morning,
on the website hidden link there is a problem with your WPML String Translation plug-in. The situation occurs, for example, when trying to purchase the product Green Wallbox 2 Pro Slim 22kW (hidden link). When the "Extended warranty up to 5 years (+PLN 699.00)" option is selected in the PL language version, only the product itself is added to the cart - without the previously selected warranty. This problem does not occur on the EN version of the website - hidden link
We are also sending you a screenshot of the WooCommerce Product Add-ons plug-in settings.
Before this ticket is assigned to a support I'd be happy to answer initially.
We have a report regarding the Product Add-on plugin, but I am not sure it is 100% like your case or not.
I suggest that you check this temporary solution to see it works for you:
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- in the file: wp-content\plugins\woocommerce-multilingual\compatibility\WcProductAddons\MulticurrencyHooks.php
- Replace:
Hi,
I used your solutions. But before applyeing i updated whole woordpress/plugins/themes. It does not work. When I add my product in the Polish version, the addition is not added to the cart. hidden link
vs hidden link
I'll continue to help you with this issue. I can see the problem you are describing on your site. Indeed, it happens in the Polish language of the site and does not occur in English. But Polish is your site's default language; therefore, I'm uncertain whether WPML and WooCommerce Multilingual & Multicurrency cause the issue.
Did you originally create this product in Polish or in English?
I'm trying to understand if it was originally created in English and translated into Polish.
Also, please tell me which plugin enables you to add this warranty to the product.
In the title and first post, you mentioned that the problem is because of Strings Translation.
Can you please explain why you think this is a Strings Translation problem?
Hi,
we tried to debug (changing theme - same efect) and that we tried by disabling addons (one by one).
Disabling Strings Translation fixed the issue (but there was no translation of addon).
Post id for polish version 6093, for english 7217. So i thing that polish version was base for translation.
You tested it in the wrong way. Strings Translation should stay active. Please test it in the following way.
I suspect that there is a collision with the theme or another plugin that might cause this problem. If possible, get your site into a minimum environment. Minimum environment means switching to a default WordPress theme like TwentyTwenty-One and no plugins activated except WPML.
First, you will need to check if the problem persists when the theme is switched to TwentyTwenty-One. If it persists, then deactivate all plugins except the WPML, its add-ons, and WooCommerce itself (without its extensions), only leaving the WooCommerce Product Add-ons plugin active. Then please check if the problem persists. If it does not persist, start by activating the plugins one by one and check when the problem comes back, then report to me which was the culprit plugin.
**** Important! Please make a full site backup (files and DB) before you proceed with those steps****
*** If your site is live, you might want to try those procedures in a staging environment or a snapshot of your site on your local server or another server. ***
The topic ‘[Closed] Problems with plugin WPML String Translation’ is closed to new replies.