Home›Support›English Support›[Resolved] Prices misaligned in second language after activating tax management
[Resolved] Prices misaligned in second language after activating tax management
This thread is resolved. Here is a description of the problem and solution.
Problem: The client experienced price misalignment in a multilingual WooCommerce site after activating tax management. Prices in the second language (EN) showed minor discrepancies compared to the original language (IT), such as showing one or more Eurocents difference, even after bulk updating. Solution: We recommended the following steps to resolve the issue: 1. Create a full site backup to ensure data safety before making changes. 2. Navigate to WooCommerce -> WooCommerce Multilingual & Multicurrency -> Settings tab -> Troubleshooting link (bottom right) -> Select all options and click on the 'Start' button. 3. Wait for the process to finish and check if the issue is resolved. Additionally, to handle future content changes in the original language without manually updating translations, we suggested activating automatic translation, which can be set up following this guide: https://wpml.org/documentation/automatic-translation/
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.
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.
Background of the issue:
In a local test website using WordPress and WooCommerce with languages IT and EN, I initially inserted product prices without tax management. A product priced at €100 + VAT 22% was displayed as €122. After activating tax management and using a bulk update plugin, prices were adjusted so that enabling 22% tax displayed the correct frontend prices. Products are translated through the WP Editor, not the WPML editor, due to custom fields.
Symptoms:
In the second language (EN), most prices were misaligned after activating tax management: IT €100,00 - EN €100,01; IT €100,00 - EN €101,01; IT €100,00 - EN €122,01 (double tax calculation).
Questions:
Why did the price misalignment happen in the second language after activating tax management?
Is there a quicker solution to resolve the price misalignment issue?
In this case, I would recommend following these steps:
- Create a full site backup
- Go to Woocommerce -> Woocommerce Multilingual & Multicurrency -> Settings tab -> Troubleshooting link (bottom right) -> Select all options and click on the 'Start' button
- Wait for the process to finish and double-check if the issue disappeared.
Could you tell me the results of the steps described above?
Shall I apply your suggestion even if I already re-saved all translations, which realigned prices?
Actually, I see that some items show "0" results, and others show up to 3387 items to synchronize.
Is it advisable that all results are "0"?
Thank you.
Flavio
Aggiorna il conteggio dei prodotti: 0 prodotti con varianti
Sincronizza le varianti dei prodotti: 0 rimanenti
Sincronizza le "immagini della galleria" dei prodotti: 610 rimanenti
Sincronizza categorie prodotti (visualizza tipo, anteprima): 59 rimanenti
Duplica termini (seleziona l'attributo):
17 rimanenti
Sincronizza le giacenze di magazzino e lo stato dei prodotti (sincronizzazione delle giacenze minime di magazzino nelle traduzioni) 3387 rimanenti
Correggi le relazioni delle varianti tradotte 2545 rimanenti
Sync removed product meta from original products to translations 3387 rimanenti
Registra le recensioni del prodotto per le traduzioni 0 rimanenti
I recommend creating a full site backup before running this process because it will adjust the information of the products directly on the database. So, if something goes wrong you can restore the copy of the site.
After running the process all results will be 0, but when you refresh again you will see the numbers back because the numbers indicate the products that will be affected, not the one remaining 🙂
I have just found out that if a price in the first language (IT) is modified, the second language (EN) still displays a minor difference (one or more Eurocents).
Is this something which can be avoided? Otherwise each time a price is adjusted in Italian, the english translation must be re-saved.
Oh, really?
And what if I have a website with 4 languages or more... must each language be updated separately?
This is nearly unmanageable.
And is the cause of it just the activation of prices without taxes?
Thank you.
Yes, every time a change is made to the content in the original language, the translated content must be updated in order to get that change. To avoid manually updating the content every time, you can activate the automatic translation and WPML will take care of it automatically: https://wpml.org/documentation/automatic-translation/