WooCommerce – Fernando Tellado'nun değişken ürünlerinde yalnızca en düşük fiyatları göster
Eklenti URL'si: https://wordpress.org/plugins/show-only-lowest-prices-in-woocommerce-variable-products/
- Dosyada wp-content\plugins\sadece-show-lowest-prices-in-woocommerce-variable-products\show-lowest-woo-variable-prices.php sonraki kodu ekle:
if (class_exists('WOOCS')) { global $WOOCS; if ($WOOCS->current_currency != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $fiyatlar[0] = $fiyatlar[0] / $currencies[$WOOCS->current_currency]['oran']; if ($fiyat[1]) { $fiyat[1] = $fiyat[1] / $currencies[$WOOCS->current_currency]['oran']; } } }