WPML
Status
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.

All known issues →