-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localisation in Order Information page is broken (v 2.0.3.1) #3575
Comments
Further investigation showed that actually there is no way to get strings for payment, shipping and total modules without actually requesting the module or using them. Payment Modules have only method getMethod() I think these modules should have another method, like getInfo() that returns common information about the module, i.e. its title using current session language. |
Daniel, |
When new order is created, it looks like OpenCart saves title strings for the following entities in DB for each order:
That means that if user ordered something while using language A, these strings are saved using this language. If user then switches to language B and goes to view Order Details, she will see strings from language A.
Is there a particular reason why OpenCart saves these strings? I can only think that so not to do few extra joins to get the proper values from relevant tables, but I don't think its worth it and it affects user experience negatively.
The text was updated successfully, but these errors were encountered: