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.

This topic contains 9 replies, has 2 voices.

Last updated by Bruno Kos 2 months ago.

Assigned support staff: Bruno Kos.

Author Posts
August 21, 2019 at 8:51 am

bertelM

I am trying to: I try to checkout, but on a different domain I get ajax errors

Link to a page where the issue can be seen:hidden link

I expected to see: Try to add the product in the basket

Instead, I got: 400 error in console

August 21, 2019 at 9:53 am
August 21, 2019 at 10:00 am #4429711

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Can you put wp-admin info here once again? It was removed from the chat. I set your next reply as private.

Regards,
Bruno Kos

August 21, 2019 at 10:30 am
August 21, 2019 at 11:37 am #4430855

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

when I visit this link:
hidden link

I am able to add this into the cart when on this page directly, so it is possibly something related to the widget you are using. Can you tell me which plugin is in charge of "[show_magazine]" shortcode which renders this content, is it built-in into the theme perhaps?

This widget brings "A variable mismatch has been detected" error, so there may be some compatibility issue with it that we may need to debug further.

Regards,
Bruno Kos

August 21, 2019 at 11:46 am #4430903

bertelM

Hi Bruno. It is Standard woocommerce shortcode. Bit thé error is alsof visible on checkout

August 21, 2019 at 11:57 am #4431057

bertelM

Hi Bruno, sorry I misunderstood. The shortcode is scripted in functions.php. But i doubt that this causes the issue, as the checkout form also doesnt work.hidden link (add product and try to pay)
The form keeps showing the preloading icon

August 21, 2019 at 12:15 pm #4431149

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

I see - I can see the issue here as well.
hidden link

Can you install your theme here?

hidden link
hello@wpml.org
SYuvzzDQT8

This is cloudways site where I recently set domain per language setting.

I installed WooCommerce and WooCommerce multilingual here. Can you only create one product in the same way they are set on your original site (so having same product options, such as stock, etc)?

This will help us to exclude whether this is a theme issue. If this doesn't help, then we have no other options but to move your site into this server.

Regards,
Bruno Kos

August 21, 2019 at 12:37 pm #4431451

bertelM

Hi, i get an error installing the theme. You can find it here hidden link

August 21, 2019 at 12:55 pm #4431485

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

It was due to maximum upload size. I installed it manually, can you check and proceed now?

Regards,
Bruno Kos

August 21, 2019 at 2:24 pm #4432249

bertelM

I cant access the second domain. Is that correct?

August 22, 2019 at 5:44 am #4436379

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Sorry about that - you need to add this into hosts file.
46.101.155.28 nl.wordpress-219772-960384.cloudwaysapps.com

Then you can see the second domain (even though I am not sure we need this for the testing?).

Regards,
Bruno Kos

The topic ‘[Closed] Woocommerce multilingual gives ajax errors with different domains’ is closed to new replies.