• Resolved scholdstrom

    (@scholdstrom)


    If you use this plugin together with WCML and the default language has a price adjustment configured, the prices are incorrect when triggered through cron/action-scheduler.

    Lets say you have a webshop with default language Swedish, but your enter prices in EUR, and have an exchange rate of 1 EUR = 10 SEK set.

    First off all, when updating through the admin UI, everything works. However when you update with cron, WCML will detect the default language currency (SEK) and get_post_metadata hook will modify the _price meta. What we need to do is switch the currency, same as the plugin does with switching the language.

    Attached patch https://gist.github.com/oxyc/c5cd1e15ae1e74226ed4b6e770ee2842

    • This topic was modified 10 months, 2 weeks ago by scholdstrom.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Md Monir Hossain

    (@monircoderex)

    Hi @scholdstrom,

    Thank you for bringing this to our attention. We appreciate your detailed explanation and the provided patch. We will review and incorporate the necessary changes to address this issue in the upcoming release of the plugin.

    If you have any more feedback or encounter further issues, please feel free to let us know. Your input is valuable in enhancing the functionality of our plugin.

    Best Regards,

    Plugin Support Md Monir Hossain

    (@monircoderex)

    Hi @scholdstrom,

    We’re pleased to inform you that we have addressed this concern in the latest release, version 7.3.26 (2024-01-18). The update includes a fix for the problem you highlighted.

    Please update your plugin to the latest version, and you should no longer encounter the price updating issue with WCML when using CRON.

    If you have any more feedback or encounter further issues in the future, please feel free to let us know.

    Best Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug with WCML when default language currency has price adjustment’ is closed to new replies.