Skip Navigation

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.

Tagged: 

This topic contains 12 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 4 months ago.

Assisted by: Osama Mersal.

Author Posts
September 18, 2023 at 3:24 pm #14413745

euliceC

Tell us what you are trying to do?
I have translated the pages, but the cart button ( English version) at home page become no function, I have elementor support to check on it, after checking they say is I need find the support from WPML, what should I do ?
Is there any documentation that you are following?
No
Is there a similar example that we can see?
No
What is the link to your site?
hidden link

Add to cart is not working.png
September 19, 2023 at 8:35 am #14417289

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed.

Your next answer will be private, which means only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

September 19, 2023 at 5:57 pm #14423179

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I checked the issue, and it seems to happen because you use "Language name added as a parameter " as a language URL format.

The button works correctly when selecting "Different languages in directories ". I tested this on a sandbox site. Kindly check this page. (hidden link)

Sandbox login URL: hidden link

So, the workaround for this case is to change the language URL format.

Alternatively, you can edit the translated page using Elementor and add the correct button URL manually.

Best regards,
Osama

September 20, 2023 at 4:01 am #14425947

euliceC

"Language name added as a parameter" got image to see ?

September 20, 2023 at 7:24 am #14426911

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please check the attached screenshot.

2023-09-20_10-23-21.jpg
September 20, 2023 at 4:14 pm #14432285

euliceC

I have changed the language path, now the english page is missing. What should I do ?

English page is missing.png
September 20, 2023 at 4:20 pm #14432317

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I changed the permalinks and resaved. (Kindly check the attached screenshot)

Please check if the English home page works correctly. (hidden link)

Best regards,

2023-09-20_19-18-11.jpg
September 24, 2023 at 3:43 pm #14453053

euliceC

I have tested, however after I clicked "Cart" add the english product instead of chinese product.

标题換去英文.png
September 24, 2023 at 3:50 pm #14453081

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I checked it, and the bottom redirects to the English product correctly. Kindly check this video. (hidden link)

Best regards,

September 30, 2023 at 3:36 pm #14491685

euliceC

No, what I showing now is chinese page and the product is using english term instead chinese term

October 1, 2023 at 7:45 am #14492477

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I tried it again, and it seems to work correctly. Would you please provide a screen-recorded video while reproducing the issue?

Best regards,
Osama

October 1, 2023 at 9:26 am #14492649

euliceC

I saw what you, you should go Home (Chinese) page, click "購物車" , it will lead to the page.
I highlighted at image below

标题換去英文.png
October 1, 2023 at 10:00 am #14492751

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Would you please check the button now?

Best regards,
Osama