When I add one product in Chinese language to the cart, everything is OK, but when I try to add one more product to the cart, the second product doesn't get added to the cart and some strings from the first product revert back to the english (default language).
This only happens when I add a new report first (a type of product which has variations), and after that I try to add an aged report (a simple product without any variations)
Link to the product with variations: hidden link
Link to the page where you can add a product without variations:
hidden link
I expected to see:
Two products in the cart
Instead, I got:
one product with delivery days displayed in english and they were in chinese before I tried to add one more product.
We suspect there is an issue with the View in question for adding the product to the cart when the cart is not empty.
Can you look into it and see if there is a solution to this problem?
However it seems that this was opened in the wrong forum. For translation issues these are generally handled in our WPML forums as they are better able to assist with translation issues. https://wpml.org/forums/forum/english-support/
Please read carefully what I wrote, especially this part:
"...but when I try to add one more product to the cart, the second product doesn't get added to the cart..."
I already wrote to WPML support and Yvette from your team suggested that I should write to you, because it seemed to them that this is the views related problem.
Here is the link to the opened ticket on the wpml forum, so that you can better understand the problem and why she thinks it it Toolset related:
The issue remains, even without the views, so definitely it is not Toolset that is causing this. The problem is that it is not woocommerce neither. I have no problem adding more products in the cart in English language, only in Chinese (and only if I add aged reports after new reports, which are different types of products), so it must be WPML that is causing this problem.
Can you please confirm this, so that I could go back to the wpml forum to try to solve this problem?
Yes if the problem occurs even after disabling views then yes its a translation issue. Our Views plugin does not affect the Cart page in any way at all.
I have been going through this issue with Yvette, and she concluded the problem is actually Toolset related, as you can see in this WPML support thread (I attached the most relevant image from the thread):
I hope we can resolve this as it is the sole remaining relevant bug on the website, the client is pressuring us on that issue and withholding payment for an otherwise fully functional product.
I had those problems as well due to shared hosting limitations. Please try the two step backup, it worked for me. Also, I installed the All in one WP migration plugin as well, just in case.
Please let me know if there is anything else you need.
So we retested everything: we recreated reports files and deleted old ones, started with new machines, deleted histories, rebooted etc to start on a clean environment and the bug is still there.
It seems to work the very first time then try again and no older report can be added ever again.
According to the screen capture you send, you do things correctly, but here are the steps just in case:
1) hidden link
2) Click on green button to order new report
3) Choose any country in drop down list
4) Type a name and address and click on blue button
5) On Cart click on blue button to "add more"
6) Back on homepage click on "order older reports" which is the underlined geen text under the first green button you clicked previously.
7) Click on Germany = which is about the 50th entry in the drop down list. Do not enter anything in the name box and click on blue button.
8) There will be 2 companies listed there. Pick one and click.
9) On the cart next, you will see that the Older report company you just added does not show and the previous report is now half in English.
If it works first time, simply delete the cart and redo again.