Skip to content Skip to sidebar

Open

Reported for: WPML Multilingual & Multicurrency for WooCommerce 5.3.8

Topic Tags: Bug, WCML

Overview of the issue

When attempting to create a WooCommerce product using the REST API, custom prices (e.g., different prices for different currencies) are not being saved correctly. The issue arises when using the custom_prices field in the API request.

Workaround

As a temporary solution, you can manually set the custom prices for each currency using the product’s meta fields. For example, set _wcml_custom_prices_status to 1 to enable custom prices for the product. Then, if EUR is the default currency and USD is the secondary, you can now set the prices with the following keys: _regular_price_USD, _sale_price_USD, _price_price_USD.

2 Responses to “WPML Multilingual & Multicurrency for WooCommerce - Custom Prices Not Assignable via REST API”

  1. Hi I’m having an issue updating the `WooCommerce Multilingual & Multicurrency` on our site. My suspicion is this is a workflow issue. We do all development work on local servers including plugin updates. The changes are then deployed to the live site. We looked on the production site and it says the license is valid until May 2025. My dev box is using the following url `local.unamamaprimerizafeliz.com`

    • Hello Craig,
      Indeed, it seems like a server side configuration. Do you use different licenses for your local and production websites in case you are using different URL’s?
      If that’s the case and it doesn’t help, it would be better to start a chat in our assistance channel. In that way, one of our supporters can investigate your issue and help you move with your project.

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>