Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client has a WooCommerce store and wants products that have not been translated to appear in the product list in additional languages. Despite having the 'translatable' option activated in WPML settings, a product with an 'orange' attribute is not appearing when filtered in the Spanish version of the store.

Solution:
We found that the issue was related to the filter not showing the product in the translated pages. To resolve this, we:
1. Enabled a specific option in the WPML settings that allows products to be displayed in the original language when they are not translated.
2. Asked the client to set up the filter and test if the product with the variation now appears on the translated product pages.

If this solution does not seem relevant to your situation, please open a new support ticket with us.

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

Last updated by Kor 1 year, 8 months ago.

Assisted by: Kor.

Author Posts
October 31, 2023 at 5:58 pm #14702935

Diego Ojeda

Hello. In my WooCommerce store, I would like the products that have not yet been translated in their original version to also appear in the list of products in the additional languages. Is that possible? I have the "translatable" option activated in the post type configuration in wpml

October 31, 2023 at 6:29 pm #14703257

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

November 1, 2023 at 6:29 pm #14709793

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I've checked and I could see a product from another language appearing on the Spanish Language page here hidden link as shown in the attached screenshot. Seems to work when I checked.

Screenshot_216.png
November 1, 2023 at 7:23 pm #14710131

Diego Ojeda

I see. The product you have added has the color "orange" as an attribute. If we look for it in the store, in the Spanish version, with the "Orange" color filter, it will not appear.

hidden link

November 2, 2023 at 4:49 pm #14719879

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I can see the issue now. Before I investigate this further, could you update the WPML plugins to the latest version here? hidden link . I can't seem to update and could be related to the sitekey. Maybe try generating a new key and see if the update works. Or upload the new versions manually.

November 2, 2023 at 9:27 pm #14721315

Diego Ojeda

Hello. I already updated everything.

November 3, 2023 at 5:08 pm #14727529

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for responding.

It appears that the problem still exists. After examining the shop page, it seems that the filter is generated by the theme itself. To facilitate further investigation and escalation to our second-tier support, I have set up a sandbox site at this location: hidden link . Could you kindly reproduce the issue on this site so that we can proceed with seeking additional assistance?

November 6, 2023 at 3:23 pm #14739421

Diego Ojeda

Hello. Thank you. Can you give me directions to do it? That is, do they need me to clone the entire site or just install, for example, the theme and a trial product?

November 6, 2023 at 3:27 pm #14739431

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for getting back to us.

I'm afraid we cannot copy your entire website to our sandbox site. Instead, please install the necessary theme and plugin to replicate the issue. Provide us with an example demonstrating that the filter isn't functioning correctly for attributes or variations. As per your example, show us how the English language product doesn't appear on your secondary language product page when filtered by color.

November 8, 2023 at 3:26 pm #14758387

Diego Ojeda

Ready. I have reproduced the error.

- Elessi theme installed
- Additional languages ​​configured
- In WPML "settings" the option to show the product in the original language as a fallback when it does not have translations (Translatable) was activated
- Product created only in English version (base language of the store)

Expected result:
The product should be seen in all languages

Result obtained: The product is only seen in the English version

Examples:

hidden link

hidden link

I also tried the default WordPress templates and the result was the same.

November 8, 2023 at 6:43 pm #14760533

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

The issue is with the filter. I've enabled the option here hidden link shown in the attached screenshot and it's showing now on the translated pages here hidden link .

Could you setup the filter and filter the product with variation and see if it shows up on the translated products?

Screenshot_255.png
November 15, 2023 at 4:01 am #14803777

Diego Ojeda

Thank you. It seems to work correctly.