Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing intermittent issues with the cart quantity not updating correctly on a WooCommerce site with Hebrew language set when the WPML Multilingual CMS plugin was active.

Solution:
We recommended the client to:
1. Create a full backup of the site.
2. Update all outdated plugins and themes.
3. Update WPML plugins from the Plugins -> Add new -> Commercial tab.
4. Flush any cache memory.
5. Check for issues in WooCommerce -> WooCommerce Multilingual -> Status tab and fix them.
6. Use the Troubleshooting tool in WooCommerce -> WooCommerce Multilingual -> Settings tab.
7. Deactivate all plugins and activate a default WordPress theme.
8. Reactivate WPML plugins, WooCommerce, and WooCommerce Multilingual.
9. If the issue is resolved, reactivate the theme and other plugins one by one to identify the culprit.
Additionally, we asked the client to:
- Increase the WordPress memory limit to at least 128MB by adding the following code to the

wp-config.php

file:

/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '128M');

- Check the WordPress memory limit in WPML -> Support.
After following these steps, we updated the Woodmart core plugin to the latest version and left the site in a minimal setup. Since the issue could not be reproduced, we advised the client to reactivate the remaining plugins one by one to find the conflicting one.

Please note that this solution might be irrelevant due to being outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, do not hesitate to open a new support ticket in our support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 12 replies, has 2 voices.

Last updated by Carlos Rojas 1 year, 4 months ago.

Assisted by: Carlos Rojas.

Author Posts
January 12, 2024 at 10:15 am #15178247

royk-9

Hello,

On our site we have set Hebrew language. The issue is when we try to add product to the cart by selecting the quantity for example I choose quantity like 4 or anything then sometimes it doesn't add with quantity which I selected it. This problem occurs sometimes not continuously.

We have run plugin conflict test and we have found this issue happens only when the WPML Multilingual CMS plugin is active. We have confirmed 3 times that is there any other thing conflicting and we can confirm that it is happening with the WPML Multilingual CMS plugin.

This also happens when we tries to update quantity in cart with quantity buttons sometimes the quantity doesn't update.

Remember this problem happens sometimes.

We have setup a staging site v5.creatpea.com you can check it here on this product hidden link

Can you please look into it.

Link to a page where the issue can be seen:

January 12, 2024 at 11:46 am #15178764

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

I kindly ask you to follow these steps to isolate the cause of the issue:
- Create a full backup of the site
- Update any outdated plugins or themes
- Go to Plugins -> Add new -> Commercial tab -> Update the WPML plugins
- Flush any cache memory that might exist
- Go to Woocommerce -> Woocommerce Multilingual -> Status tab -> Fix any issue that might appear
- Go to Woocommerce -> Woocommerce Multilingual -> Settings tab -> Troubleshooting link (bottom right) -> Select all options and click on the Start button -> Wait for the process to finish
- Deactivate all plugins, including the WPML ones
- Activate a default WordPress theme
- Activate the WPML plugins, Woocommerce and Woocommerce Multilingual
- If the issue disappeared start by activating the theme and then the rest of the plugins, one by one, until the issue appears again and you find the culprit

Could you tell me the results of the steps described above?

Regards,
Carlos

January 16, 2024 at 8:24 am #15188224

royk-9

We have tried all the above steps, But the issue still persist.

January 16, 2024 at 9:52 am #15188630

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi there,
Thank you for your message

I have gone through your message again, and I can see that the issue happens in the original language, where WPML plugins don't make changes. So, I suspect that the cause of this issue might be a wrong configuration or a conflict with a third-party functionality (if, indeed, WPML is related).

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. If we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

January 23, 2024 at 9:12 am #15214901

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi there,
Thank you for sharing the access credentials

Before we continue I need to ask you to:
- Update all outdated plugins and themes that appear in this link: hidden link
- Flush all the cache memory
- Increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '128M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Once the steps described above are finished, if the issue persists, then apply the other steps described in this message: https://wpml.org/forums/topic/conflicting-with-woocommerce-add-to-cart-quantity-input-and-cart-page-quantity-u/#post-15178764

January 23, 2024 at 1:23 pm #15216955

royk-9

Hi Carlos,

I have tried clearing all caches and also increased the memory limit but the issue still persists. I have tried all the steps mentioned in https://wpml.org/forums/topic/conflicting-with-woocommerce-add-to-cart-quantity-input-and-cart-page-quantity-u/#post-15178764
But this issue only happens when WPML Multilingual CMS plugin is active.

The plugins which are not updated I have deactivated them and checked the issue but it is still same so updating those plugin is not the issue and you can consider them as disconnected.

Please look into this issue and let us know.

Thanks!

January 23, 2024 at 1:42 pm #15217324

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I just visited the plugin's page of your site and I can see several active plugins that are outdated, including the WPML ones: hidden link

January 25, 2024 at 6:23 am #15224467

royk-9

We are not able to activate the OTGS Installer plugin to update the WPML plugins. When we activate it we get the message that plugin activated successfully but it gets deactivated automatically.

Can you please check this?

Thanks

January 25, 2024 at 8:35 am #15224835

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi there,

To update the WPML plugins you must go to Plugins -> Add new -> Commercial tab and there you will be able to update the plugins

January 29, 2024 at 7:03 am #15236261

royk-9

I have updated the WPML plugins and tried all the mentioned steps https://wpml.org/forums/topic/conflicting-with-woocommerce-add-to-cart-quantity-input-and-cart-page-quantity-u/#post-15178764 mentioned in this comment but the issue only happens when the WPML Multilingual CMS is activated.

Can you please look into it. Everything is updated on the site now and remember this issue happens sometimes I mean if you try to update cart quantity 5 to 10 times you will be able to see the issue

Thanks

January 29, 2024 at 10:47 am #15237413

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you for your message.

Do you authorize me to run tests on the staging site and activate/deactivate plugins and themes?

January 30, 2024 at 5:23 am #15241504

royk-9

Yes, I authorize you to run tests on staging site.

Please let us know your findings.

Thanks

January 30, 2024 at 10:57 am #15242800

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you for your authorization.

I have updated the Woodmart core plugin to the latest version and left the site in a minimal setup. I can't reproduce the issue now, which means that the cause of the issue is not on the active theme + plugins. Please start activating the rest of the plugins, one by one, until the issue appears again and you find the culprit.