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;
}
}