FOX - WooCommerce Para Birimi Değiştirici Profesyonel

WooCommerce Premium 1.0.14 için YITH Bağışları

Eklenti bağlantısı: https://yithemes.com/themes/plugins/yith-donations-for-woocommerce/

  • dosyada \wp-içerik\eklentiler\yith-bağış-for-woocommerce-premium\içerir\sınıflar\class.yith-woocommerce-bağışlar-premium.php sonraki kodu ekle:
    if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->current_currency != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $amount = $amount / $currencies[$WOOCS->current_currency]['oran']; } }

  • aynı dosyada sonraki kodu ekleyin:
    if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->current_currency != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $amount = $amount / $currencies[$WOOCS->current_currency]['oran']; } }