• Resolved w-sky

    (@w-sky)


    Hello, we are having a huge problem with the “my account” part of WooCommerce with WPML.

    All links in the menu and in the dashboard of the my account page do link to the dashboard page itself, for example instead of

    “../en/my-account/edit-account/”

    the link will only re-load:

    “../en/my-account/”

    All links are shortened like this, however if I enter a link manually, it will work. (Also if I add those links to the main menu, they will open the desired pages.)

    However: If I create a new simple page and add a link to any “my account” sub page to the page text, upon page display the link is again shortened to “../en/my-account/” or “../mein-konto/” (base language) or “../pl/moje-konto/”
    It is changed on-the-fly, not in page source.

    I checked if turning Slug translations in WPML off will help, but no change to this behavior.

    Any help highly appreciated.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter w-sky

    (@w-sky)

    Supplement:

    I tried deactivating other plugins, but at the end, only deactivating the “WPML Multilingual CMS” plugin will make the my account page and menu work again.

    Of course loosing all multilingual capabilities… Deactivating/activating the “WooCommerce Multilingual” plugin does not help too. ??

    Hello and thank you for contacting us.
    Please excuse me for the late reply here.

    Can you check if you perhaps have set the post type “Pages” as “Translatable – use translation if available or fallback to original language” option in WPML > Settings and perhaps set it to the normal value “Translateable – only show translated items” and then re-save the permalinks?

    I hope that this helps you. Please let me know how it goes.

    Thread Starter w-sky

    (@w-sky)

    Yes! Oh thanks a lot! This is it, the translation setting for post type pages. All links are working now, in all languages.

    I will rather keep the setting at “Translateable – only show translated items” and check if it will cause problems elsewhere, but I hope not.

    Yes, that setting should be good and should not cause issues in other places.
    I have escalated the problem to our developers.

    Thread Starter w-sky

    (@w-sky)

    Thanks a lot. For us, this solution was helpful enough, should we mark this as resolved?
    Though I guess the developers will have to work on the bug with page mode set to “Translatable – use translation if available or fallback to original language”.

    Okay, marking this as resolved.

    Hi,

    I have the same issue, all the links on the My Account page are broken and just link to the same page you’re already on (the main my account page). But, I don’t think we can use that other setting as a workaround for the bug without losing pages that are not translated, correct?

    We are using WPML / WooCommerce Multi-Lingual and we want all currencies available regardless if there is a translation for the page or not. It seems then our only choice is the “Translatable – use translation if available or fallback to original language” setting for all pages/content, rather than the “translate only” where pages are not shown if there is no translation for the selected language.

    Optionally we would be ok with “no translation” as we mainly use the integration points rather than the translation ability, but WPML told us that we should be using the translate and fallback option rather than no translation or other issues will occur with Multi-Lingual multi-currency features etc. Is it possible to have that setting and have these links work? Or is this still an active bug?

    The integration points with other popular plugins like WooCommerce and many others, is key to connecting a lot of great functionality. But, as a developer stability is key, and I’d like to see all of the features working with fallback to default language before trying other modes or putting more time into adding content to the system where non-translated pages are outright hidden. Any site with lots of pages would need a transition period with this type of setting before being fully translated.

    Let me know if there is an update or another way to fix it.

    Thank You!

    Hello @mystyleplatform
    Unfortunately, this bug is still in effect.
    You can monitor this page: https://wpml.org/errata/when-pages-are-set-to-display-as-translated-all-endpoints-in-my-account-page-for-secondary-languages-lead-to-defaut-language/
    When the bug is fixed, we will mark that page as resolved and include the number of the version which fixes the issue.

    Hi George,

    The WooCommerce Multi-Lingual plugin that integrates Woo with WPML just pushed an update (4.6.0), and it seems to have fixed it for us.

    Thanks,

    – Sean

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘All links to My Account sub pages become invalid’ is closed to new replies.