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

Last updated by Mohamed Sayed 1 year, 8 months ago.

Assisted by: Mohamed Sayed.

Author Posts
September 29, 2023 at 4:26 pm #14489125

ireneS-3

I use Woocommerce with 3 languages.
I don't translate my products, they are set to fallback as well as product visibility.
When a product is set to ocult, archive page shows as expected in main language.
In the other 2 languages, product is ocult but I have an empty placeholder in my grid.

Captura de Pantalla 2023-09-29 a las 18.22.jpg
October 1, 2023 at 8:45 pm #14493839

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

First of all, sorry for the late reply due to a higher workload.

When you set your products to the "Translatable – use translation if available or fallback to default language", all products will be associated with the default language taxonomies. This is because this translation option doesn’t create products in the secondary languages, so no products will associated with the translated categories.

Please check this guide for more details: https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#how-to-duplicate-pages-and-posts-in-bulk:~:text=associated%20with%20them.-,For%20example,-%2C%20in%20WooCommerce%2C%20if

To show the untranslated products on the archive pages in secondary languages, you can duplicate the products then they can be available in all languages. Please check here for more details: https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#how-to-duplicate-pages-and-posts-in-bulk

Let me know please if that helps.

Kind regards,
Mohamed

October 2, 2023 at 8:34 am #14495793

ireneS-3

Hello,

Sorry I didn't explain well my problem.
When I set a product to occult, I want it to be occult in all 3 languages, I don't need to duplicate it.
The problem is with the grid. In secondary language, when I have an occult product, I have an empty space in its place. If I have 2 occulted products I have 2 empty spaces and so on...
I send you 2 images of the grid with one occulted product. One is the main language with the grid as it have to show. The other one show is secondary language with empty space.
It's like the grid doesn't fill well.

Captura de Pantalla 2.jpg
Captura de Pantalla 1.jpg
October 2, 2023 at 9:57 am #14496699

Mohamed Sayed

I would need to request temporary access (WP-Admin and FTP) so I can investigate this issue further.
– preferably to a test site where the problem has been replicated if possible –

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

❌ Please backup your database and website before providing us with access details ❌

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

If you don't see the form below, please don't add your credentials as they will be publicly exposed:
hidden link

Privacy and Security when Providing Debug Information for Support:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Thanks for your cooperation

October 2, 2023 at 5:01 pm #14499485

Mohamed Sayed

Hi,

I checked the site but I couldn't find any clues yet. The first page of each shop translation shows 19 products while the default language shows 20 products, but the total number of products is the same in all languages.

Could you please try the following steps to translate the grid template and let us know if that helps?

- Go to WPML > Translation Management > and select the Elemento templates type (hidden link)
- Select the "Catàleg" template and send it for translation (hidden link)
- Translate it from WPML > Translations

October 2, 2023 at 6:04 pm #14499903

ireneS-3

Hi,
I did what you suggested but it didn't help...

October 3, 2023 at 10:19 am #14503317

Mohamed Sayed

Hi,

I couldn't find more clues, so I escalated the ticket to the 2nd tier support team for further investigation.

I will let you know once I get their reply.

October 4, 2023 at 9:44 am #14511465

Mohamed Sayed

Hi,

1. Please let us know how the shop page was created. When we try to edit the original page with Elementor, it keeps loading and the editor doesn't open (Please check the attached image). This also happens when WPML is disabled.

2. Please check if the issue persists in a minimal environment by following these steps:

- Deactivate all the plugins that are not related to WPML (Keep Woocommerce enabled without any extensions)
- If the issue is gone, activate one by one to see with which one there is an interaction issue.

❌ Please backup your database and website before performing the above test ❌

October 4, 2023 at 10:03 am #14511553

ireneS-3

The shop page is created with Elementor.
I edit it thru:
Plantilles>Plantilles desades>Catàleg

October 4, 2023 at 10:15 am #14511671

ireneS-3

Desactiving all plugins (except ACF as it throws fatal error) doesn't resolve the problem.

October 4, 2023 at 4:19 pm #14514865

Mohamed Sayed

Thanks, I shared the above info with the 2nd tier supporters and will update you once I have feedback.

October 8, 2023 at 8:51 am #14534007

Mohamed Sayed

Hi,

Unfortunately, we couldn't find more clues regarding this issue. Our 2nd tier supporters suggest duplicating all products and checking if the issue is resolved.

If this doesn't work for you, we will escalate this issue to our developers for further debugging.

In this case, we will need a copy of your site so kindly create it and provide a link to download it. You can use the Duplicator plugin (https://wordpress.org/plugins/duplicator/).

The plugin will create a package file that you can download and then upload again to Google Drive or Dropbox and share the download link in the next reply which I have marked as private. Then I’ll escalate this issue to our developers for further investigation.

Please check here for more details: https://wpml.org/faq/provide-supporters-copy-site/

October 11, 2023 at 7:40 am #14555941

ireneS-3

Hello,

I try to duplicate the product I want to be be occult in English language and effectively it works.
I hope this will help to identifícate the problem but this is not the way I want my shop to work.
All the products in my shop are presented the same way in every languages so it makes no sense for me to duplicate them and I would like product visibility to work as fallback or no translate option.

Thanks.

October 11, 2023 at 8:27 am #14556529

Mohamed Sayed

Could you please provide us with the site copy or allow me to create it?

Please check my previous reply for more details: https://wpml.org/forums/topic/woocommerce-product-visibility/#post-14534007

October 11, 2023 at 11:55 am #14558975

ireneS-3

Yes, you can create a site copy