WOOCS - WooCommerce Para Birimi Değiştirici


DHL Ekspres Ticaret

Eklenti bağlantısı: https://dhlexpresscommerce.com/intro/dhl.aspx?ReturnUrl=%2f

Dosyalamak wp-content\plugins\woocommerce-dhlexpress-services\woocommerce-dhlexpress-services.php sonraki kodu ekle:

if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $current = $WOOCS->current_currency; $currencies = $WOOCS->get_currencies(); $def_currency = $WOOCS->default_currency; if (isset($currencies['USD']) AND $def_currency !== 'USD') { $oran = $currencies['USD']['oran']; $oran->{'total_price'} = $oran->{'total_price'} / $oran; } } }