Passer au contenu Passer à la barre latérale

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Fuseau horaire du support : Asia/Dhaka (GMT+06:00)

Ce sujet contient 10 réponses, a 2 voices.

Dernière mise à jour par Prosenjit Barman Il y a 12 mois.

Assisté par: Prosenjit Barman.

Auteur Messages
octobre 5, 2024 à 6:53 pm #16257077

philippew-7

Contexte de la question:
Je crée de nouveaux produits (variable product) en anglais et je traduis ces articles (duplicate ou manuellement) en français, allemand ou italien. Le prix des différentes variations du produit est inclus correctement.

Symptômes:
Le prix s'affiche en français mais pas dans la version allemande ni dans la version italienne.

Questions:
Comment corriger ?

octobre 7, 2024 à 4:57 am #16258948

Prosenjit Barman
Partisan de WPML depuis 03/2023

Les langues: Anglais (English )

Fuseau horaire: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

To reduce the waiting time, I took this ticket and responded in English. Please let me know if you're okay with it or if you want to continue the conversation in French language. I will check and forward this ticket to one of our French-speaking supporters to assist you in the French language.

I understand the issue you're facing. It seems that the variations in other languages do not have the correct price, which is why the products in those languages cannot be purchased. When you duplicate the default product for translation, the price should be copied over correctly. Since that didn't happen, please try the following steps and see if they help resolve the issue.

- Navigate to "WooCommerce > WooCommerce Multilingual > Status" tab.
- Click on the "Troubleshooting" link at the bottom.
- Select the following options and click on the "Start" button:
- Sync product variations.
- Fix translated variations relationships.

After the process is complete, clear the cache on your site and in your browser, then check if the issue persists with the German or French version of the product.

If the error persists, please try the following steps:

- Go to "WPML > Support > Troubleshooting".
- Under the 'Cleanup' section, use the dropdown to select "Variation" and click on "Synchronize Post Taxonomies".
- Once this process is complete, repeat the steps by selecting "Products" instead.

Let me know how it goes. I'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

octobre 19, 2024 à 4:19 pm #16307411

philippew-7

Thank you Prosenjit, I did what you mentioned but it does not help to solve the problem.
When creating new products or duplicating old products, I frequently have the same problem : prices do not appear in English, Italian or German
Can you help

octobre 21, 2024 à 5:10 am #16309895

Prosenjit Barman
Partisan de WPML depuis 03/2023

Les langues: Anglais (English )

Fuseau horaire: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for the update.

With the current translation settings for the Price field, the price should be correctly included in the translation. Additionally, there are no known issues regarding pricing when creating new products in the WooCommerce forums. However, after reviewing the WPML debug information, I noticed that WPML, String Translation, WooCommerce, and WooCommerce Multilingual plugins have not been updated to their latest versions, which could potentially be causing the issue.

Kindly ensure that the plugins are updated to these versions:

- WPML: 4.6.12
- String Translation: 3.2.14
- WooCommerce: 9.3.3
- WooCommerce Multilingual: 5.3.8

After updating the plugins, please clear your site and browser caches. Then, create a new product, translate it into other languages, and check if the issue still persists.

Let me know the update. I'll be hppy to help if you need further assistance in this matter.

Best regards,
Prosenjit

octobre 21, 2024 à 9:03 am #16311046

philippew-7

Thank you, I updated all the plugins. WPML is on the version 4.6.13, string translation 3.2.14 woocommerce 9.3.3 and woocommerce multilingual 5.3.8

I created a new article with variations.

I create the article in English and then duplicate it in German, Italian and French.
The price is displayed in English, but not in German (see screenshot).

I've synchronised the attribute used. Nothing changes

Screenshot 2024-10-21 at 11-01-12 Produkte ‹ Espace Triathlon — WordPress.png
octobre 21, 2024 à 9:04 am #16311061

philippew-7

Note that the problem appears only with variable products

octobre 22, 2024 à 3:54 am #16314893

Prosenjit Barman
Partisan de WPML depuis 03/2023

Les langues: Anglais (English )

Fuseau horaire: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for trying out the suggestions!

After creating the translation by duplicating the product into another language, could you please open the translation and check if the variations and pricing have been correctly added to the translated product?

If everything looks correct, click the update button (Screenshot: lien caché) without making any changes to the translated product. Then, check if the price displays correctly.

When duplicating a product for translation, the variation data may not always propagate correctly in the database, as they are stored in a different post type. Updating the product can help refresh the data for the duplicated product in the database, potentially resolving any missing data issues.

Please give it a try and let me know how it goes. I'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

octobre 23, 2024 à 9:29 am #16320984

philippew-7

Thank you for the suggestion. Yes opening the translation and updating it helps. The price appear

However, this is not the case when the price does not appear in the English version.

I create products in English, and when the product is created, the price doesn't always appear in the English version (whereas it does in the German, French or Italian version).

Similarly, when I update existing products with quantities or other information, the price disappears in the English version.

To make it appear again, I have to open the product in English, modify the variations, save the variations again and update again.

It seems to me that this is a rather lengthy procedure. Isn't there a bug?

octobre 24, 2024 à 3:47 am #16324105

Prosenjit Barman
Partisan de WPML depuis 03/2023

Les langues: Anglais (English )

Fuseau horaire: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for the update!

I'm glad to hear that updating the translation helped resolve the issue with the price display on the translated product.

Since you're now experiencing the price display issue on a product created in the default language, it could be due to a conflict between your theme or another plugin. If the issue were occurring with a translated product, I would suspect a synchronization problem. However, because it's affecting a product in the default language, it doesn't seem related to WPML.

To better understand the root cause, could you try switching to a default theme like Twenty Twenty-One and deactivating all other plugins except for WPML, String Translation, WooCommerce, and WooCommerce Multilingual? Then, check if the issue persists.

If that resolves the issue, start reactivating each plugin one by one, saving the theme for last. After each activation, check if the pricing issue reappears. This way, you’ll be able to identify exactly what's causing the problem.

Please let me know the update! I'll be happy to help if you need further assistance in this matter!

Best regards,
Prosenjit

Novembre 4, 2024 à 7:31 pm #16363140

philippew-7

Thank you for the suggestion
I did as you mentioned (desactivate all the pluging except wpml) and I reactivated each plugin one by one,
It seems that the issue is with woodmart core pluging. Is it already documented ?

Novembre 5, 2024 à 5:04 am #16364023

Prosenjit Barman
Partisan de WPML depuis 03/2023

Les langues: Anglais (English )

Fuseau horaire: Asia/Dhaka (GMT+06:00)

Hi There!
Thank you for trying out the suggestion.

There haven’t been any reports of issues with updating prices in the default language while the Woodmart core plugin is active. Since you've encountered the issue, we’ll need to determine whether it’s limited to your setup or if it may be a broader issue.

Please check if you can replicate the issue in our sandbox given below.

- lien caché

The WPML plugin and its add-ons are pre-installed on the sandbox. Please complete any remaining setup steps, then install the Woodmart theme and Woodmart core plugin to try replicating the issue as it appears on the main site.

If the same issue occurs on the sandbox, please let me know the steps to reproduce it. I’ll review it and advise on the next steps. If necessary, I’ll escalate the issue to the 2nd tier team for further investigation.

Looking forward to your response and I'm always here to help.

Best regards,
Prosenjit

Le sujet '[Fermé] Les prix ne s’affichent pas dans toutes les langues' est fermé aux nouvelles réponses.