• 26-02-2024, 20:04:28
    #1
    Nasıl yapabilirim eklenti mi gerekiyor illa
  • 26-02-2024, 20:10:03
    #2
    Hayır gerekmiyor.

    function custom_disable_postcode_checkout($fields) {    unset($fields['billing']['billing_postcode']);    unset($fields['shipping']['shipping_postcode']);    return $fields; } add_filter('woocommerce_checkout_fields', 'custom_disable_postcode_checkout');
    bunu themes klasörü içinde kullanmış olduğun temanın functions.php dosyasının en altına yapıştır kaydet.
  • 26-02-2024, 20:10:29
    #3
    temanızın funtions.php dosyasına ekleyiniz

    add_filter( 'woocommerce_checkout_fields' ,
    function ( $fields ) {
        unset($fields['billing']['billing_postcode']);
        unset($fields['shipping']['shipping_postcode']);
        return $fields;
    });
  • 26-02-2024, 20:11:18
    #4
    GreenSSL adlı üyeden alıntı: mesajı görüntüle
    Hayır gerekmiyor.

    function custom_disable_postcode_checkout($fields) {    unset($fields['billing']['billing_postcode']);    unset($fields['shipping']['shipping_postcode']);    return $fields; } add_filter('woocommerce_checkout_fields', 'custom_disable_postcode_checkout');
    bunu themes klasörü içinde kullanmış olduğun temanın functions.php dosyasının en altına yapıştır kaydet.
    egekibar adlı üyeden alıntı: mesajı görüntüle
    temanızın funtions.php dosyasına ekleyiniz

    add_filter( 'woocommerce_checkout_fields' ,
    function ( $fields ) {
        unset($fields['billing']['billing_postcode']);
        unset($fields['shipping']['shipping_postcode']);
        return $fields;
    });

    Çok teşekkürler uyguluyorum hemen.