Skip to content Skip to sidebar

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 21 replies, has 2 voices.

Last updated by Carlos Rojas 1 year, 5 months ago.

Assisted by: Carlos Rojas.

Author Posts
February 8, 2024 at 10:19 am #15280417

nazarS

Hi, I noticed that coupons are not working for secondary languages.

February 8, 2024 at 1:15 pm #15281361

nazarS

The migration completed.

February 9, 2024 at 8:36 am #15284394

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Hello,
My name is Carlos and I will continue working on this ticket

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. If we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Regards!

February 12, 2024 at 11:57 am #15292959

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Hi there,
Thank you for sharing the access credentials

1.- Please update all outdated plugins that appear in this link: hidden link

2.- I kindly ask you to check if the workaround described in this link solves the problem on your site: https://wpml.org/forums/topic/coupon-dosent-work-for-other-language-2/

February 12, 2024 at 5:04 pm #15294185

nazarS

Hi,

I can't update some of the plugins at this time, but I do not think they intervene in any way, because I can disable them completely and the issue will still exist.

For the second option, I have also tried this during chat, and it didn't work.

I can set up login details for you so you can try it yourself, maybe I'm putting the code in the wrong place.

February 12, 2024 at 5:43 pm #15294337

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Thanks!

I have set your next message as private so you can securely share the access credentials.

Please confirm you have a full backup of the site that you can restore if necessary.

February 13, 2024 at 9:03 am #15296095

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Thanks for sharing the access credentials.

Could you share the steps to create a coupon?

February 13, 2024 at 9:20 am #15296152

nazarS

They are quite simple.

Marketing > Coupons > Add coupon

February 13, 2024 at 9:48 am #15296432

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Thank you for your message.

I have checked the configuration and our internal documentation and the 'Woocommerce Smart Coupons' plugin is not compatible with WPML. I'd recommend you contact the authors of this plugin and ask them to provide a solution based on this one: https://wpml.org/forums/topic/coupon-dosent-work-for-other-language-2/

If they need help from our side, they can contact directly our compatibility team.

February 13, 2024 at 9:50 am #15296451

nazarS

Yes, this was the first thing we checked over at the chat.

You can disable this plugin and coupons will still not work for secondary languages.

February 13, 2024 at 9:59 am #15296517

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

You are right, with the Smart Coupons plugin deactivated the issue persists.

I kindly ask you to follow these steps to isolate the cause of the issue:
- Create a full backup of the site or create a staging site with a copy of the live site
- Update all outdated plugins
- Flush all the cache memory
- Deactivate all plugins, including the WPML ones
- Activate a default WordPress theme, like Twenty Twenty
- Activate the WPML plugins, Woocommerce and Woocommerce Multilingual & Multicurrency
- Create a new test coupon
- If the issue disappeared with the new coupon check with the other ones
- If the issue disappeared in this minimal installation, then start by activating the theme and then the rest of the plugins, one by one, until the issue appears again and you find the culprit

Could you tell me the results of the steps described above?

February 13, 2024 at 10:49 am #15296862

nazarS

We've set up a copy of the site while on the chat. Is there any chance we can check it there and not on the live site?

My website is quite heavy and it takes a lot of time to restore if something goes south.

February 13, 2024 at 10:57 am #15296891

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Sure, that's the reason why in the first step I recommend to create a copy of the site or create a staging site and run the tests there.

February 13, 2024 at 11:01 am #15296928

nazarS

The link seems not to work anymore. Can we do it again?

February 13, 2024 at 11:02 am #15296951

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

The staging site is a site that you must create. We can't create a staging site.

I recommend you to contact your hosting providers and ask them to help you create a staging site with a copy of the live site.