• Resolved mikel555

    (@mikel555)


    Dear Weglot,

    on our website we have noticed that on a cart page once you add some products, within a requests (quantity change, remove product, add product back, add from related) it switch back to the default language on cart update.

    https://fitstream.eu/hu

    Please try your self. We have tried it on many devices and the same scenario happened. What is wrong with the requests, does Weglot timeout us?

    Thanks

    • This topic was modified 1 year, 1 month ago by mikel555.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mikel555

    (@mikel555)

    UPDATE: I have noticed that it happens when you remove product from cart and then update quantity of any existing product in cart.

    Thread Starter mikel555

    (@mikel555)

    UPDATE 2: The same happens on other websites we run with Weglot. Same situation after adding 2 products in cart, removing one, changing quantitity of the second one after first one is removed with ajax request and weglot is gone and language is set to default.

    Thread Starter mikel555

    (@mikel555)

    UPDATE 3: I have also updated all plugins, disabled all plugins expect woocommerce and weglot and same scenario happened. Newest updates, PHP 8.

    UPDATE 4: Also tried to do a php function to translate cart content from string translates by calling weglot_get_current_language hook, on first load it worked and after the bug happened it has stopped to work also, so its something like weglot act like its not connected to the site during that point

    Plugin Contributor Edson Galina Fortes

    (@glx77)

    hi @mikel555,

    hope you’re fine ? Sorry for the issue you’re facing. I’ll take a look and get you in touch when we’ve a patch.

    Regards

    Plugin Contributor Edson Galina Fortes

    (@glx77)

    Hi,

    the fix is ok and will be deploy on our next releases (4.2.2)

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘NEED ASAP FIX! Weglot translations are lost on cart update in Woocommerce’ is closed to new replies.