WOOCS - WooCommerce Para Birimi Değiştirici


YITH WooCommerce Abonelik Premium

Eklenti URL'si: https://yithemes.com/themes/plugins/yith-woocommerce-subscription/

  • dosyada wp-content\plugins\yith-woocommerce-subscription-premium\include\class.ywsbs-subscription-cart.php sonraki kodu ekle:
    $oran = 1; 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']; } } }

  • aynı dosyaya sonraki kodu ekleyin:
    $oran = 1; 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']; } } }

  • aynı dosyaya sonraki kodu ekleyin:
    $oran = 1; 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']; } } }

  • dosyada wp-content\plugins\yith-woocommerce-subscription-premium\includes\class.ywsbs-subscription-synchroization.php sonraki kodu ekle:
    $oran = 1; 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']; } } }

  • dosyaya ekle plugins\yith-woocommerce-subscription-premium\templates\cart\ywsbs-recurring-totals.php sonraki kod:
    if (class_exists('WOOCS')) { global $WOOCS; $recurring_price = $WOOCS->woocs_exchange_value(floatval($recurring_price)); }