Home › Forums › Basel support forum › (urgent) Language switch to default EN in checkout page
(urgent) Language switch to default EN in checkout page
- This topic has 48 replies, 4 voices, and was last updated 4 years, 10 months ago by Artem Temos.
-
AuthorPosts
-
October 11, 2019 at 10:41 am #149624
esthetisParticipantHi,
After last updates yesterday, I see that your theme is causing a language switch in the checkout page.
We tested with different theme by using WPML.
This is an urgent bug, please check on your environment and try to fix immediately the language switch on checkout.
regards
PierOctober 11, 2019 at 12:40 pm #149657
Elise NoromitMemberHello,
Please switch the site to Basel theme in Appearance > Themes > Basel > Activate.
Then activate all the plugins in Appearance > Install plugins.
Please explain what do you mean saying about language switcher in the checkout page, provide the screen how it should be and what has been broken.
Best Regards
October 11, 2019 at 1:02 pm #149660
esthetisParticipantthe problem seems to be related to the following function in functions.php below in private.
As we need a slider review in homepage, we had to customize one, because you didn’t want to add this feature.
It works until last updates, but now I need your help to fix it.
Thank you for your understanding.
Kind regards
PierOctober 11, 2019 at 6:58 pm #149701
esthetisParticipantwould you finally add this feature now, or if not please help me fix it because it is customized upon your slider
Kind regards
Pier SertaOctober 11, 2019 at 9:39 pm #149722
Elise NoromitMemberHello,
We could change the code of the element in our recent updates. You need to take this new code and integrate your customization code to fix this.
Best Regards
October 12, 2019 at 11:50 am #149786
esthetisParticipantHI,
As we don’t use, we haven’t installed the slider revolution and safe SVG.
I don’t understand because we have to install these 2 plugins that will affect the site performance and load time.
Please explain a little more.
Kind regards
PierOctober 12, 2019 at 12:03 pm #149788
esthetisParticipantSecond:
Please let me know the exact code you changed in your recent updates, in order that we can change it in the customized code
Kind regards
PierOctober 12, 2019 at 12:11 pm #149789
esthetisParticipantHi
I have attached a video record in private, as the langugage also switch from product added to basket from the search bar.
Please check
Kind regards
Pier SertaOctober 12, 2019 at 3:01 pm #149808
esthetisParticipantAre you still there?
As you can see the problem is related to your theme.
I follow your instructions to install all plugins but the problem persists
Please try to fix it or contact WPML
Kind regards
October 13, 2019 at 8:34 am #149859
Elise NoromitMemberHello,
I have attached a video record in private, as the langugage also switch from product added to basket from the search bar.
Please check the issue on the Storefront theme or confirm the permit we can do it.
Best Regards
October 13, 2019 at 9:45 am #149864
esthetisParticipantHi,
Yes…please take a look on staging, credentials below
October 13, 2019 at 6:22 pm #149901
Elise NoromitMemberHello,
I cannot log in, please check the credentials. So as per the video, when you add the product from the search page product is added in the default language, right?
Best Regards
October 13, 2019 at 8:09 pm #149904
esthetisParticipantHi,
Here is the right password in private.
No if you check the video, the language is first German (Deutsch), once added in German from Search bar, you click on mini cart that is still German but then if you click checkout (KASSE) it will redirect to default English checjkout instead of German chcekout page.
October 14, 2019 at 7:45 am #149948
Elise NoromitMemberHello,
I have tested adding to the cart from the search results page. I tested both on Storefront and here is the screenshot of testing on Basel https://gyazo.com/212a6f1736efecf1fc59829c21a56cb8
I have tested on Italian. As you see the product does not switch to English or any other language.
You have created the translation of the products in all the languages, however, you have not translated the content. Please check your products. Test with this product Medik8 Retinol 1 TR Cream IT once again. This product has different titles in different languages.
Best Regards
October 14, 2019 at 10:53 am #149981
esthetisParticipantHI,
Please carefully follow my steps, as the problem is lasting since 1 week.
Use Firefox on private window and follow the steps in the private video link
regards
October 14, 2019 at 2:13 pm #150017
Elise NoromitMemberHello,
Please deactivate all the plugins not related to the theme and check the issue, then activate one by one detecting which one causes the problem.
Best Regards
October 14, 2019 at 2:17 pm #150021
esthetisParticipantHi,
it seems that you don’t want to listen the urgent of the case and don’t want to take your time to investigate.
With the current plugins installed, I activated the sitorefront theme with mini cart ajax plugin and the problem is fixed. This mean that the problem is related in some way with your theme
October 14, 2019 at 2:27 pm #150022
esthetisParticipantthen please investigate a little more and try to fix it.
The issue is your code alone or related with WPML, woocommerce or Visual composer
As I told you, by switching to Storefront theme and using search and mini cart plugin, the problem is fixed. This let me understand that there is some bug with your code in the mini cart (or search bar)
October 14, 2019 at 2:54 pm #150024
Elise NoromitMemberHello,
I need more time for investigation. When I deactivate the plugins WPML sticky links and other not (excepting WPMPL main set) the product DE is added and shown as DE in the checkout. You can check. We need more time for checking more deeply. We will get back to you in the nearest future.
Best Regards
October 14, 2019 at 3:08 pm #150027
esthetisParticipantthis is urgent since last week….our customers are calling us because they see the English page in checkout and they have to manually switch language (it’s something like unsafe in the checkout and our sales are diminushing in these days)
Please try to fix immediately because it is not a minor bug to fix
October 15, 2019 at 8:43 am #150120
Eric WatsonParticipantHello,
Try to edit the file
wp-content/plugins/woocommerce-multilingual/inc/class-wcml-store-pages.php
and replace this codeif ( ! $is_admin || ( 'admin.php' === $pagenow && isset( $_GET['page'] ) && 'wc-settings' === $_GET['page'] ) ) { // Translate shop page ids $this->add_filter_to_get_shop_translated_page_id(); }
with this one
if ( ! $is_admin || ( isset( $_POST['action'] ) && $_POST['action'] === 'woodmart_ajax_add_to_cart' ) || ( 'admin.php' === $pagenow && isset( $_GET['page'] ) && 'wc-settings' === $_GET['page'] ) ) { // Translate shop page ids $this->add_filter_to_get_shop_translated_page_id(); }
as shown in the screenshot http://prntscr.com/pauyvg
Kind Regards
XTemos StudioOctober 15, 2019 at 11:41 am #150171
esthetisParticipantNo not fixed, the problem persist….
As the problem is related to WPML, please find solution on your side, don’t let customer test on their server.
October 15, 2019 at 1:59 pm #150212
Elise NoromitMemberHello,
Please provide your FTP access to the private area.
Best Regards
October 16, 2019 at 7:07 am #150354
esthetisParticipantHi,
As I explained, the problem is not related to FTP. By switching theme the problem is fixed.
You should test your theme with WPML from your side before releasing a version with a bug.
Regards
October 16, 2019 at 9:08 am #150387
Elise NoromitMemberHello,
We are aware of the problem and we have been working on the issue with WPML developers. The code provided above should have fixed the problem. If you cannot provide FTP access you will have to wait till WPML update.
Best Regards
October 16, 2019 at 12:28 pm #150442
esthetisParticipantHi,
You can check by yourself, we replaced code, but the problem persists.
FTP credentials in private
Please fix it
regards
October 16, 2019 at 2:29 pm #150490
Elise NoromitMemberHello,
Please provide the route to the folder.
Best Regards
October 16, 2019 at 2:48 pm #150497
esthetisParticipantFolder ‘staging’ in public html
October 17, 2019 at 6:58 am #150602
Elise NoromitMemberHello,
We are sorry, there is a wrong class in code. It is our mistake. Please replace
woodmart_ajax_add_to_cart
forbasel_ajax_add_to_cart
http://prntscr.com/pkf39zBest Regards
October 25, 2019 at 4:18 pm #152424
esthetisParticipantHI
I receive new WPML updates also WPML sticky links
Have you fixed the issue above wiht this updates?
regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register