Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to resolve an issue where the updated PLN prices via BaseLinker's API are visible in the WooCommerce product backend but do not reflect on the frontend without manual updates. This behavior differs from EUR prices, which update immediately.
Solution:
Firstly, BaseLinker is not officially compatible with WPML, which might be causing the issue. We recommend contacting BaseLinker's authors to consider joining our GoGlobal program to work towards compatibility: https://wpml.org/documentation/support/go-global-program/
If PLN is your second currency and you are updating it, WPML synchronizes changes when the post is saved. You might need to trigger a re-save of the post using hooks like

save_post

or

update_post

. This approach may require additional custom coding. For custom coding, consider hiring a contractor from WPML: https://wpml.org/contractors/

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket for further assistance.

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.

This topic contains 1 reply, has 0 voices.

Last updated by Dražen 3 weeks ago.

Assisted by: Dražen.

Author Posts
December 6, 2024 at 1:23 am #16484282

katarzynaT-5

Background of the issue:
I am trying to resolve an issue with WooCommerce Multilingual & Multicurrency in conjunction with BaseLinker, a tool for managing e-commerce operations. I need to set prices in PLN manually using BaseLinker’s API, which updates the PLN price field in the product backend.

Symptoms:
The updated PLN price is visible in the product backend but does not reflect on the frontend until I manually edit and update each product in WooCommerce. This behavior is different from EUR prices, which update immediately on the frontend.

Questions:
Why is the behavior for PLN different from EUR?
How can I ensure that prices for PLN update on the frontend automatically, without the need to manually 'Update' each product in WooCommerce?

December 9, 2024 at 8:46 am #16491404

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for contacting us.

BaseLinker is not officially compatible with WPML so there could be some issues. I advise asking authors to join our GoGlobal and we will be glad to work together in making it officially compatible. https://wpml.org/documentation/support/go-global-program/

I am not sure if is PLN your 2nd currency and how you are updating it, but WPML sync changes when the post is saved, probably the same is in your case. You will need to run hook to re-save post, you can try with WP save_post or update_post. But note this might need additional custom coding. For custom coding you can hire WPML contractors: https://wpml.org/contractors/

Hope this helps.

Regards,
Drazen