FOX - WooCommerce Para Birimi Değiştirici Profesyonel

SUMO Ödül Puanları - WooCommerce Ödül Sistemi

Eklenti bağlantısı: https://codecanyon.net/item/sumo-reward-points-woocommerce-reward-system/7791451

  • dosyada wp-content\plugins\rewardsystem\includes\class-fp-common-functions.php kod ekle:
    if (class_exists('WOOCS') AND $Type != 'fiyat') { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $carrrent = $WOOCS->current_currency; if ($carrrent != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $oran = $para birimleri[$carrrent]['oran']; $Değer = yuvarlak($Değer / $oran, 2); } } } $ConvertedValue = ($Tür == 'fiyat') ? (((kayan) $Değeri / $PuanDeğeri) * $Kullan Yüzdesi) : (((kayan) $Değeri * $PuanDeğeri) / $Kullan Yüzdesi); //Ör:10 * 2 = 20 if (class_exists('WOOCS') AND $Type == 'price') { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $carrrent = $WOOCS->current_currency; if ($carrrent != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $oran = $para birimleri[$carrrent]['oran']; $ConvertedValue = $ConvertedValue * $oran; } } }
  • VE kodu ekleyin:
    if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $carrrent = $WOOCS->current_currency; if ($carrrent != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $oran = $para birimleri[$carrrent]['oran']; $normal fiyat = $normal fiyat / $oran; } } }

  • Dosyada wp-content\plugins\rewardsystem\include\frontend\tab\modules\class-rs-fpredeeming-frontend.php kod ekle:
    if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $carrrent = $WOOCS->current_currency; if ($carrrent != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $oran = $para birimleri[$carrrent]['oran']; $Applied_points = $Applied_points / $oran; } } }