• Is it possible to have this plugin work with multiple currencys?
    We set a shipping limit of 49.99 which is valid in GBP but not in EUR.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP Trio

    (@wooelements)

    Currently this is not possible but may be added.

    What plugin / setup are you using for multicurrency support on WooCommerce?

    Thread Starter dsm1

    (@dsm1)

    Aelia Multi Currency…

    Added this which helped…

    private function _filter_max_subtotal( $condition, $package ) {
    //DANIEL MOORE MAKING THIS WORK IN EUROS AS WELL AS DEFAULT CURRENCY
    //$factor = $order->get_currency() == “EUR” ? 1.4 : 1;
    //$factor = get_woocommerce_currency_symbol() == “EUR” ? 1.4 : 1;
    $factor = get_woocommerce_currency_symbol() == “€” ? 1.4 : 1;
    //END DANIEL MOORE, FOR NOW…
    $subtotal = WC()->cart->subtotal;

    if ( isset( $condition[‘value’] ) && ! empty( $condition[‘value’] ) ) {
    //DANIEL MOORE IS BACK! THE * $factor IS WHERE I’M AT
    $max_subtotal = $this->_parse_number( $condition[‘value’] * $factor );
    //ALL DONE! HAVE FUN IN EUROS!
    if ( $max_subtotal !== FALSE && $max_subtotal > 0 && $subtotal > $max_subtotal ) {
    return TRUE;
    }
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multi Currency Support’ is closed to new replies.