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.

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

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 8 replies, has 2 voices.

Last updated by Andreas W. 1 year, 9 months ago.

Assisted by: Andreas W..

Author Posts
January 17, 2023 at 12:33 pm #12834023

T4ng

I am trying to: update my products prices

Link to a page where the issue can be seen:
You can see it from the live website, while i'm doing testings from the test website

I expected to see:
Updated prices from the translated product page (as opposed to cart and funnel, where the price is actually right

Instead, I got:
Oh well... on both environments :
- A WPML support page stating that both the Translation Management and WooCommerce Multilingual extensions are not installed, while both absolutely are installed, active, and in use.
- No attributes in both Products > Attributes and, WooCommerce Multilingual & Multicurrency > Attributes admin pages (while I have a couple of them active on the frontend, and editable from the admin page
- Once I updated both native, and translated prices (manually, not converted, nor imported or such stuff), an updated price on the native products, and no updated price on translated products, whereas as soon as I add the product to the cart, the price will be fine in the cart and funnel

firefox_EEoZS3Zt0F.png
firefox_emJcY9Skp0.png
January 17, 2023 at 9:37 pm #12837837

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Could you please go to Plugins > Add new > Commerical and update our plugins:

- WPML Multilingual CMS
- WooCommerce Multilingual & Multicurrency

Then try again and let me know if the issue persists.

Best regards
Andreas

January 19, 2023 at 10:22 am #12849133

T4ng

Hi,
Sorry I can't update the plugins for now. We'll update the plugins next week.
However, regarding the "not installed" issue, it seems to be a documented issue on your end:
https://wpml.org/forums/topic/wpml-woocommerce-multilingual-installed-and-active-showing-not-installed/#post-11522931
Do you know if it's been fixed?

Thanks

January 19, 2023 at 1:21 pm #12850849

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Yes, indeed - you can try to apply this workaround:

https://wpml.org/forums/topic/wpml-woocommerce-multilingual-installed-and-active-showing-not-installed/#post-11564721

This WCML/Installer issue will be very likely solved in our WPML 4.6 Update which will be released very soon.

About the price issue, we will need to first make sure, that the issue persists when all plugins are updated.

Please reach out next week to me, after the updates have been done, in case updating all plugins will not solve this issue.

If it is an urgent matter to you, I can offer to enable the private reply form, so that you can give me admin access to the site, and I will take a copy of the site with the plugin "All In One WP Migration" in order to test the site on a virtual server.

Best regards
Andreas

January 23, 2023 at 9:42 am #12870755

T4ng

Hi,
Our website, with all of its plugins, is too big, i can't provide it to you with All In One WP Migration.
By the way, I updated both plugins locally, and I updated the prices. It doesn't change anything. The price shown on the translated product pages remains the same.

Could you please tell me where these translated prices (and translated base prices, if they exist, or if it's relevant to check) are located in the database?

Thanks,

January 23, 2023 at 10:50 am #12871647

T4ng

I found where the problem resides.

The price shown on the translated product page is actually still retrieved from the "Simple Product" admin page view > Set prices in other currencies manually. Because before having variations, this product used to be a simple product.

The problem now is that I can't remove that price unless the product is a simple product. So that if I want to remove that simple product regular price, I need to:
- Switch the product as simple product > Save
- Remove that simple translated price > Save
Now, the attribute(s) remain(s), but the variations have vanished... with all their details.

So that I now need to rebuilt my variations from scratch:
- Native and translated prices
- SKUs
- Stock status if relevant
- Dimensions
- Weight

Now, once I click save, it says "Invalid or duplicated SKU", then removes all the details I just filled in. So that I can start it all over again, at least until I understand that I obviously first need to go to WooCommerce > Status > Tools > Delete orphaned variations... Before setting all these details again, then realize it still doesn't work...

If the SKUs are somehow wrong, I guess I can at least, temporarly, set new ones. But no, I still get "Invalid or duplicated SKU" message.

So I try something else, clearing the following data from WooCommerce
- WooCommerce transients
- Expired transients

Finally, I can save my products with new SKUs, set a price, save... And realize that's now the native language product price value, instead of the translated product price value, that is displayed on the translated product page!

So... I can now:
- set the product back to simple again > Save
- set base prices again > Save
- set it back to product with variations
- build my variations, with new SKUs, otherwise I keep getting the SKU error message. > Save.

So my prices are finally right, but I should now get my hands to our ERP to change the products SKU 🙁

I believe you can imagine the pain.

Please let me know if I miss something, especially about the SKUs: everybody can't afford to change a SKU for that.

January 24, 2023 at 7:56 pm #12884741

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

You will need to check WPML > Settings > Custom Field Translations and make sure to locate the price field and set it to copy.

https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

WCML will always share the same product details between the original product and translation - this is why product detail fields are blocked on translated products when WCML is activated.

It is not possible to use different details in product translations. This means product translations need to share the same price, SKU, stock, and attributes in order to remain in sync - for example when a product is purchased in a second language it needs to lower the stock in both languages.

If you are unable to solve the issue by changing the custom field translation preference settings, then please recreate it in a minimal setup while adding the latest version of the plugin on the following test site and leave me a short notice on this ticket.

One-Click-Login:
hidden link

WooCommerce and WPML plus addons are already active and ready to go.

Best regards
Andreas

January 25, 2023 at 8:45 am #12887063

T4ng

Hi Andreas,

||You will need to check WPML > Settings > Custom Field Translations and make sure to locate the price field and set it to copy.

There's no price, nor pricing, nor pric (...) variable in the Custom Fields translations. The only WCML variable I get is "wcml_sync_hash ", and it's locked and set to "Don't translate".

|| It is not possible to use different details in product translations. This means product translations need to share the same price, SKU, stock, and attributes in order to remain in sync - for example when a product is purchased in a second language it needs to lower the stock in both languages.

>> I'm not facing an issue where I can't set the data from the translated product admin page. I'm trying to set, well basically SAVE data from the original language product page, and get them render properly in the languages. Namely, from the US product admin page, I'm trying to set a manual price in Euros, to be displayed in French and German products catalog pages.

January 25, 2023 at 4:49 pm #12892323

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better for a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “All In One WP Migration” on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you and take note, that creating such a package requires sufficient available space on your server.

IMPORTANT

Please make a backup of site files and database before providing us access.
If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

The steps are also shown in this video: hidden link

Best regards
Andreas

The topic ‘[Closed] WooCommerce variations translated products prices won't update’ is closed to new replies.