[Resolved] Checkout breadcrumbs not showing on the second language
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where the 'Shopping cart', 'Checkout details', 'Order complete' breadcrumbs are missing on the Portuguese version of their site, while they appear as expected on the original English site. Solution: We recommend checking the slug of the secondary language checkout pages. If you change the slug to checkout, it should resolve the issue. This problem occurs because the theme checks for specific slugs, and when these slugs are translated, it fails to recognize them. Here is an example of how the theme handles breadcrumbs:
Additionally, ensure that your theme, in this case, Flatsome, is updated to the latest version as an outdated theme can also cause such issues.
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket.
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.
Background of the issue:
I am trying to: So the 'Shopping cart', 'Checkout details', 'Order complete' breadcrumbs are missing on the second language page. On the original English site they are working as intended, but they are not there on the Portuguese version of the site. Any ideas what could be the issue? Link to a page where the issue can be seen: hidden link
Symptoms:
The 'Shopping cart', 'Checkout details', 'Order complete' breadcrumbs are not showing on the Portuguese version of the site, while they are working as intended on the original English site.
Questions:
Why are the breadcrumbs not showing on the Portuguese version of the site?
How can I fix the issue with the missing breadcrumbs on the second language page?
So i set up the dummy site, and I tried to translate the Checkout site, because that is the one that we are having issues with, and I came to the same exact problem.
If we click the Portuguese language in the footer for the checkout site, the checkout breadcrumbs are gone. Can you see it at your end?
Strange, can you provide me login details of the live site?
So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply. hidden link
Okay it seems it works on the Checkout page, but on the Cart page it is still missing for the Portuguese language. Is it the same at your end?
Edit: Nevermind, I fixed it the same way that you explained for the cart as well, now the question is what is the easiest way to translate these strings for the portuguese language?
- Go to WPML->Strings Translations->Auto Register strings for translations
- Enable the "Look for strings while pages are rendered" option
- Now visit the page on front-end where the string is shown, this will automatically register strings from that page
- Now go to WPML->Strings Translations->Auto Register strings for translations and disable the options
- Search for the strings in WPML->String Translations and translate it
Also thank you Shekhar for a very quick response as well!
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.