Home›Support›English Support›[Resolved] Sale prices and discounts are not consistent between SK (EUR) and CZ (CZK) versions of the shop
[Resolved] Sale prices and discounts are not consistent between SK (EUR) and CZ (CZK) versions of the shop
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is running a WooCommerce store with WPML in Slovak and Czech languages. The base currency is EUR, and CZK is enabled through WooCommerce Multilingual → Multi-currency. On the Slovak site (EUR), discounts and 'Sale' percentages are correct. However, on the Czech site (CZK), the same products show different prices and incorrect discount percentages.
Solution: 1. Go to WPML -> Languages -> Make themes work multilingual, select the option 'Adjust IDs for multilingual functionality' and click the Save button. 2. Make a small change to a product with this problem and click the Update button. 3. This will also cause a change for the translated product. (You should see the circled arrow icon.) 4. Update the translation of the product. 5. Also, update the translation of the page with the product loop. Check if this fixed the problem.
If the solution provided here does not resolve your issue or seems outdated, we 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. If the problem persists, please 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:
I am running a WooCommerce store with WPML in Slovak and Czech languages. EUR is the base currency, and CZK is enabled through WooCommerce Multilingual → Multi-currency. On the Slovak site (EUR), the discounts and 'Sale' percentages are correct. On the Czech site (CZK), the same products show different prices and wrong discount percentages. Links to the pages where the issue can be seen: hidden link (Zlevněné produkty) and hidden link (Zľavnené produkty).
Symptoms:
On the Czech site (CZK), the products show different prices and incorrect discount percentages compared to the Slovak site (EUR). It seems that either manually set CZK prices are overriding automatic conversion, or the calculation of sale percentages is not consistent.
Questions:
Why are the discount percentages and prices different on the Czech site compared to the Slovak site?
Is there a way to ensure that the CZK prices and discounts are automatically calculated from the EUR base prices?
I can see the problem you showed in the screenshot on your site. I can also see that the discount percentage is not showing when viewing this product: hidden link. Please see the attached screenshot. But I don't see the actual price.
1. Have you hidden the actual price?
2. Is the translation of the product updated?
(You must see the pencil icon next to the Czech language.)
3. How did you add this discount tag? Is it a feature of your theme?
If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply. Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ **IMPORTANT**
- - Please back up the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--
Please note that my weekends are Friday to Saturday. If you need further assistance, I may be available to continue checking this issue and helping you next week.
When I check the Czech site now, hidden link, I can see that the discount tab shows correctly. It also shows on the single product page. Please see the attached screenshots. So it seems that the tag issue is fixed.
Can you please confirm this?
I can see that there are no prices under the product on the Czech page. (Also see the attached screenshot.) I also see that the price is not showing on a single product page. Please try the following.
1. Go to WPML -> Languages -> Make themes work multilingual, select the option 'Adjust IDs for multilingual functionality' and click the Save button. Please see the attached screenshot.
2. Make a small change to a product with this problem and click the Update button.
3. This will also cause a change for the translated product. (You should see the circled arrow icon.)
4. Update the translation of the product.
5. Also, update the translation of the page with the product loop.
Discount tab show incorrectly for few types of products. hidden link hidden link
Price is not showing on a single product page
- It is not showing, sice you need to create account as user or use incognito mode with .cz domain and then you can compare.
I clicked - WPML -> Languages -> Make themes work multilingual, then went to price. Updated it to lower, than back to normal and it started working.
I think, that could be problem with BEAR - WooCommerce Bulk Editor Professional, since shop managers, change price with this plugin and it doesnt update.
Thanks a lot.
Can you please remove images, since 1 image is from administration, which could be harmfull for website security.