Background of the issue:
I am making a webshop for the Dutch Market and for multiple countries across Europe. For the international shop, I want to use custom prices for the products. Now the products are 'locked', but I want to give each product a different international price, different from the Dutch price.
Symptoms:
The products are 'locked', preventing me from setting different international prices.
Questions:
How can I set different international prices for products using WPML?
Is there a better way to manage international pricing than using WooCommerce priced by country?
While waiting for one of my colleagues to help you, please note that this is expected behavior, if the pricing of a product is $10 in one language it will match the translation as well.
If you are using different currencies, in that case you can adjust the exchange rate.
Yes, I understand. But my client sends from one country. He wants to advertise with free shipment but wants to higher the prices of foreign countries. So the basis webshop (in Dutch) are the default price. And he wants to higher the prices of the translated domains (all countries with prices in €)
Hi there!
I hope you're doing well. Sorry for the delay in responding due to the weekend.
I completely understand the situation. The price field within the product editor is programmatically set to sync across all languages. To achieve what you're looking for, it would require overriding the synchronization, and custom coding would be necessary. However, please be aware that breaking the synchronization of this field could lead to other issues, including potentially disrupting the synchronization between the default product and its translations.
If you prefer to change the price programmatically, you can refer to our Hook guide linked below to find the most suitable hook for your case:
Based on your needs, the wcml_product_custom_prices hook could be helpful. You can hook this with a function where you can implement the logic to set a custom price for each language.
I hope this helps. Please note that providing support for custom coding is beyond the scope of our support. As a result, we may not be able to assist you directly with the code. However, if you need more extensive coding support, you can consider hiring a developer experienced in customizing WPML and its add-ons through this link: https://wpml.org/contractors/.
Please feel free to let me know if you have any other questions. I'll be happy to help.
Best regards,
Prosenjit
The topic ‘[Closed] Change the price of a product in another domain’ is closed to new replies.