Skip to content
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

Conflict 'Language Menu' & 'Woocommerce cart' nav items #1370

Open
cestdani opened this issue Aug 28, 2023 · 0 comments
Open

Conflict 'Language Menu' & 'Woocommerce cart' nav items #1370

cestdani opened this issue Aug 28, 2023 · 0 comments
Labels
maybe bug Potential bug, to be investigated module: WC Integration with Woo Commerce

Comments

@cestdani
Copy link

This bug only applies to the /cart page
https://maikohorita.com/cart

When clicking the Japanese language in the Language Switcher, the text is replaced with the 'cart' nav item.

For now the language switcher was removed from the menu. Here is a screenshot of how it should look.

Screenshot 2023-08-28 at 2 13 49 PM

And the error (when clicking on 日本語)
Screenshot 2023-08-28 at 2 13 57 PM

I've checked custom code/plugin conflicts (none).
Again, this error only applies to the /cart page and when clicking on the second language (Japanese), and even when the language menu is in a different menu from the cart.

No errors in console.

VERSION INFO

{
"PHP_VERSION": "8.0.30",
"WP_VERSION": "6.3",
"QTX_VERSION": "3.15.2",
"Plugins": [
"Flexible Shipping 4.21.7",
"Social Feed Gallery 4.1.8",
"Lay Theme Carousel 2.2.1",
"Lay Theme Imagehover 1.2.4",
"Lay Theme Lightbox 1.5.7",
"Lay Theme Fullscreen Slider 1.6.9",
"qTranslate-XT 3.15.2",
"Really Simple SSL 7.0.8",
"Side Cart WooCommerce 2.3",
"Converter for Media 5.9.6",
"WooCommerce Custom Product Addons Free 3.0.3",
"Japanized for WooCommerce 2.6.3",
"WooCommerce Stripe Gateway 7.5.0",
"WooCommerce 8.0.2",
"WP Fastest Cache 1.1.8",
"WP Statistics 14.1.5",
"WPForms Lite 1.8.3.1"
]
}

{
"default_language": "en",
"enabled_languages": [
"en",
"ja"
],
"locale": {
"en": "en_US",
"ja": "ja"
},
"date_format": {
"en": "%A %B %e%q, %Y",
"ja": "%Y年%m月%d日"
},
"time_format": {
"en": "%I:%M %p",
"ja": "%H:%M"
},
"url_mode": 2,
"use_strftime": 3,
"filter_options_mode": 0,
"language_name_case": 0,
"detect_browser_language": true,
"hide_untranslated": false,
"show_menu_alternative_language": false,
"show_displayed_language_prefix": false,
"show_alternative_content": false,
"hide_default_language": true,
"use_secure_cookie": false,
"header_css_on": true,
"text_field_filters": [],
"disable_client_cookies": false,
"url_info": {
"cookie_lang_front": "ja",
"cookie_lang_admin": "en",
"cookie_front_or_admin_found": true,
"scheme": "https",
"host": "maikohorita.com",
"path": "/wp-admin/admin-ajax.php",
"query": "action=admin_debug_info",
"path-base": "",
"wp-path": "/wp-admin/admin-ajax.php",
"language_neutral_path": true,
"http_referer": "https://maikohorita.com/wp-admin/options-general.php?page=qtranslate-xt",
"referer_admin": true,
"doing_front_end": false,
"lang_cookie_admin": "en",
"lang_admin": "en",
"language": "en",
"set_cookie": false,
"page_referer": "options-general.php"
},
"language": "en",
"editor_mode": 0,
"highlight_mode": 1,
"auto_update_mo": true,
"hide_lsb_copy_content": false,
"lsb_style": "simple-buttons.css",
"config_files": [
"./i18n-config.json"
],
"custom_fields": [],
"custom_field_classes": [],
"post_type_excluded": [],
"admin_enabled_modules": {
"acf": true,
"all-in-one-seo-pack": true,
"events-made-easy": true,
"jetpack": true,
"google-site-kit": true,
"gravity-forms": true,
"woo-commerce": true,
"wp-seo": true,
"slugs": false
},
"translator": {},
"qtrans_compatibility": false
}

{
"cookies": [],
"navigator": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
"Javascript built-in RegExp: @@split": "supported"
}

@cestdani cestdani added the maybe bug Potential bug, to be investigated label Aug 28, 2023
@herrvigg herrvigg added the module: WC Integration with Woo Commerce label Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maybe bug Potential bug, to be investigated module: WC Integration with Woo Commerce
Projects
None yet
Development

No branches or pull requests

2 participants