Home Forums Plugins CURCY – WooCommerce Multi Currency 3rd party CURCY support

3rd party CURCY support

  • Author
    Posts
  • #122032

    Fredric Boberg
    Participant

    Hi, I am using ‘lumise’ that do not have native support for multi-currency. I’ve seen that WOOCS have written a php code to make it work with multi-currency. Could you do something similar? So your plugin works with lumise.

    if (class_exists(‘WOOCS’)) { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $currrent = $WOOCS->current_currency; if ($currrent != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $rate = $currencies$currrent; $price = $price / $rate; } } }

You must be logged in to see replies to this topic. Click here to login or register