<div class="woocommerce-billing-fields">
<?php if ( wc_ship_to_billing_address_only() && WC()->cart->needs_shipping() ) : ?>
<h3><?php esc_html_e( 'Fatura & Kargo', 'woocommerce' ); ?></h3>
<?php else : ?>
<h3><?php esc_html_e( 'Fatura detayları', 'woocommerce' ); ?></h3>
<?php endif; ?>
<?php do_action( 'woocommerce_before_checkout_billing_form', $checkout ); ?>
<div class="woocommerce-billing-fields__field-wrapper">
<?php
$fields = $checkout->get_checkout_fields( 'billing' );
foreach ( $fields as $key => $field ) {
if ( isset( $field['country_field'], $fields[ $field['country_field'] ] ) ) {
$field['country'] = $checkout->get_value( $field['country_field'] );
}
woocommerce_form_field( $key, $field, $checkout->get_value( $key ) );
}
?>
</div>
<?php do_action( 'woocommerce_after_checkout_billing_form', $checkout ); ?>
</div> Wocommerce fatura detaylarında ülke kaldırma.
5
●620
- 28-08-2019, 18:32:36Fatura adresi istenirken ülke soruluyor.Bunun temanın hangi sayfasında istendiğini buldum ancak bunu sorunsuz olarak nasıl kaldırabilirim ?
- 28-08-2019, 18:59:28Kimlik doğrulama veya yönetimden onay bekliyor.Checkout Field Editors eklentisi ile rahatlıkla kaldırabilirsin
eklenti linki https://tr.wordpress.org/plugins/woo...o/#description - 28-08-2019, 19:05:44Teşekkürler hocam halletim aşağıdaki kod ilesokaks adlı üyeden alıntı: mesajı görüntüle
/* WooCommerce: The Code Below Removes Checkout Fields */ add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' ); function custom_override_checkout_fields( $fields ) { unset($fields['billing']['billing_country']); return $fields; } - 16-06-2021, 23:34:43nereye eklemiştiniz hocam.Breakupsong adlı üyeden alıntı: mesajı görüntüle
- 17-06-2021, 14:07:39Şu an anımsamıyorum hocam çok zaman geçmiş üzerinden.Muhtemelen functions.php üzerinden.ZyDn adlı üyeden alıntı: mesajı görüntüle
- 17-06-2021, 14:08:58teşekkürler hocam hallettimBreakupsong adlı üyeden alıntı: mesajı görüntüle