Skip to content Skip to sidebar

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 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 3 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 5 months ago.

Assisted by: Prosenjit Barman.

Author Posts
November 19, 2024 at 1:49 pm #16420026

studiom-6

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?

November 20, 2024 at 7:29 am #16422435

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

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.

This plugin might help you achieve your desired results:
https://wpml.org/plugin/woocommerce-product-price-based-countries/

November 22, 2024 at 3:25 pm #16434487

studiom-6

Dear Bobby,

Thank you for your response.

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 €)

I hope there is a way to achieve that?

Kind regards

November 25, 2024 at 8:55 am #16438316

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

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:

- https://wpml.org/documentation/related-projects/woocommerce-multilingual/wcml-hooks-reference/

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.