WOOCS - WooCommerce Para Birimi Değiştirici


WC Lovers tarafından WCFM Marketplace

Eklenti URL'si: https://wordpress.org/plugins/wc-multivendor-marketplace/

  • dosyada  wp-content/plugins/wc-multivendor-marketplace\core\class-wcfmmp-commission.php sonraki kodu ekle:
    if (class_exists('WOOCS')) { global $WOOCS; $_order_currency = get_post_meta($order_id, '_order_currency', true); $order_rate = get_post_meta($order_id, '_woocs_order_rate', true); $currencies = $WOOCS->get_currencies(); if (!$order_rate) { if (isset($currencies[$_order_currency])) { $order_rate = $currencies[$_order_currency]['oran']; } } if ($order_rate) { $commission_amount = $WOOCS->back_convert($commission_amount, $order_rate, 2); } }