WOOCS - WooCommerce-Währungsumschalter

WC Fields Fabrik

Die Plugin-URL: https://wordpress.org/plugins/wc-fields-factory/

  • Im Ordner functions.php nächsten Code hinzufügen:
    add_filter('wcff_negotiate_price_after_calculation', function($price) { if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $currencies = $WOOCS->get_currencies(); $conversion_rate = $ Währungen[$WOOCS->current_currency]['rate']; $price = $price / $conversion_rate; } } return $price; });