Ubah billing fields jadi not required
Updated on July 29, 2016 in Plugin Ongkos Kirim
7 on May 19, 2016

Halo,

Saya coba mengubah agar field city dan district jadi not required dengan snippet berikut di functions.php theme:

// City and District in Billing not required
add_filter( ‘woocommerce_checkout_fields’ , ‘custom_billing_fields’ );

function custom_billing_fields( $fields ) {
$fields[‘billing’][‘billing_city’][‘required’] = false;
$fields[‘billing’][‘billing_district_field’][‘required’] = false;
return $fields;
}

Untuk percobaan saya coba ubah field first_name bisa, nah waktu mengubah yang file city dan district koq ndak bisa.

Apakah anunya salah? 🙁

  • Liked by
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off
Sorry, our support is not available at this time. We will reply at the next working hour.

By using the forum you are agree with tonjoo studio license agreement

Moderator 0 on May 20, 2016

Halo mas,

Maaf late response. SUdah kami laporkan ke developer nya. Mungkin akan kita masukan ke revisi update selanjut nya supaya tidak required lagi 🙂

Trims

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off
Sorry, our support is not available at this time. We will reply at the next working hour.

By using the forum you are agree with tonjoo studio license agreement

Message :
0 on May 20, 2016

Hae,

Aaaak, jadi ini saya harus nunggu update lagi?

Ada solusi biar bisa saya eksekusi sekarang?

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off
Sorry, our support is not available at this time. We will reply at the next working hour.

By using the forum you are agree with tonjoo studio license agreement

Message :
Moderator 0 on May 25, 2016

Halo,

Maaf late response

Iya mas. Dan kami tidak menyarankan utk merubah coding nya karena nanti jika update, perubahan nya akan terhapus

Trims

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off
Sorry, our support is not available at this time. We will reply at the next working hour.

By using the forum you are agree with tonjoo studio license agreement

Message :
3 on July 27, 2016

Mohon maaf saya juga mengalami masalah billing address di halaman checkout saya. Ada beberapa field yang tadinya tidak ada jadi ada. ketika mau checkout ada pesan "masih ada isian yang kosong".

Saya menggunakan trial untuk uji coba di theme saya. Nantinya klau cocok akan upgrade.

on July 28, 2016

Hai mas Bagus,

Field-field baru itu adalah detail alamat untuk perhitungan ongkir, silahkan diisi lengkap sebelum Anda checkout.

on July 28, 2016

Hai mas Haris,
saya menggunakan plugin checkout form customizer untuk menghapus beberapa field, sehingga cuma nama,email,alamat,dan noh HP di billing addressnya, dan maslahnya field” tersebut tidak punya Title

on July 29, 2016

Plugin ongkos kirim hanya akan bekerja jikan field2 yang dibutuhkan diisi, seperti field province, city dan district

Show more replies
  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off
Sorry, our support is not available at this time. We will reply at the next working hour.

By using the forum you are agree with tonjoo studio license agreement

Message :
Loading more replies
You are not logged in

Please login here or simply sign up here .