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.

This topic contains 9 replies, has 2 voices.

Last updated by Christopher Amirian 5 months, 3 weeks ago.

Assisted by: Christopher Amirian.

Author Posts
May 8, 2024 at 9:25 am #15605137

sanderK-17

I am trying to:
I have a product with four variations: €15, €20, €30 and €50.
I newly added the €15, translated the page, on the translated page (English) the €15 is only visible for me when logged in as admin.

I have tried:
- Disabling wp-optimize and redis cache
- Opening the page in incognito mode
- WooCommerce → WooCommerce Multilingual & Multicurrency → Troubleshooting and use the Sync products variations option to fix it hidden link
- WooCommerce>>WooCommerce Multilingual>>Attributes > there are no translatable attributes

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

I expected to see: The €15 option
Instead, I got: missing €15 option

May 8, 2024 at 5:04 pm #15607455

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Would you please go to WordPress Dashboard > Products > Attirbues and from the top admin bar change the language to the translated one and see if the attribute is there and translated correctly?

If yes please do the conflict test as below:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Woocommerce, WPML and WPML add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

If the problem persists, I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.

Make sure you set the next reply as private.

May 8, 2024 at 7:38 pm #15607766

sanderK-17

There are no product attributes.
I don't see a private message option.

May 11, 2024 at 5:20 pm #15617140

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Sorry for the late reply, you will have the checkbox to set the next reply as private.

Thanks.

May 14, 2024 at 3:08 pm #15626181

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thank you for the staging website. Unfortunately, I am not able to test the issue with that as there is no scenario that the services page shows on a staging website when I am logged out. It shows the login screen only.

What I have done was a small change on the product int he staging and made sure the translation is 100% complete and it is now working but when I am logged in staging which seems not the problem that you have in the first place.

is there a way to test the issue so I can have both logged in and logged out states?

Thanks.

May 15, 2024 at 3:50 pm #15631585

sanderK-17

I disabled the admin mode for the staging site. You can now see the product on hidden link

What is the change that you made? How can this be done on the live site? I had translated it multiple times on the live site.

May 18, 2024 at 11:27 am #15641753

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

It seems it working on the staging now. The only thing that I did was to go to the product edit screen in the original language. Added space at the end of the description.

Click the blue update button. Clicked the Pencil icon for the translation and then clicked the complete button for the translation.

Most probably the issue is related to the cache on your live website or even that admin mode feature you mentioned.

Thanks.

May 21, 2024 at 10:00 am #15649487

sanderK-17

If I do the same at the live site it does not work yet. The price range does show the €15 option, the dropdown does not. On the edit product page in the English language I see that the €15 option is present and enabled and has same SKU. What goes wrong? The SKU has been used before in a variation, then removed, and now added again before starting thispost. Searching in phpMyAdmin for the SKU only gives the current results of the Dutch and English post number.
hidden link

May 21, 2024 at 2:09 pm #15651160

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Would you please deactivate any sort of cache or maybe object cache and see if thee issue is fixed? The fact that it worked on the staging website and not working on a live website shows the issue is not related to WPML code or something but a cache issue.

We can copy your website to our server for further investigation if needed.

Please make sth next reply as private and provide the login information of the live website and we will copy it on our server.

I tried to access the dashboard here:

hidden link

But it throws a 404 error.

May 22, 2024 at 2:33 pm #15658886

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thank you for the information. I copied the website to our server and it works with no issues.

I did not touch anything and as you can see all select items show both in NL and EN.

You can check here:

hidden link

and here:

hidden link

The login information is the same.

This shows the issue is not WPML or WooCommerce. It is your server and it has some sort of caching that causes the issue.

I am not sure what it is and the best way to go forward is to ask your hosting service provider.

Akso you can give them the link to our server so that they can see the exact same installation works ok on our server.

Thanks.

May 23, 2024 at 6:08 am #15660360

sanderK-17

Thank you for your help. I don't know what changed, but suddenly it's working. Very frustrating, but thank you again for your help.