Background of the issue:
I am setting up a WooCommerce store where I want to have products with different pricing for different languages but using the same currency. For example, Product A should cost 19.99 USD for the English version and 9.99 USD for the Spanish version.
Symptoms:
I am trying to update the price for the Spanish version, but it is not updating.
Questions:
Can we achieve different pricing for different languages using WPML?
Custom programming work is beyond the scope of our support.
Also, the custom work is related to WooCommecre, on the WPML side you only need to know in which language the user is navigating the site. That can be done with this hook: https://wpml.org/wpml-hook/wpml_current_language/
That said, allow me to suggest a different path:
If you need different prices for translated products, then you should not translate the original products and create individual products in each language independently - those would then not be linked and share any product details.