Woo Ongkir Eror, Muncul Field Aneh
Updated on December 11, 2015 in Plugin Ongkos Kirim
6 on December 11, 2015

Muncul field ID yang ketika di akses via mobile, selalu auto refresh

  • Liked by
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

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

0 on December 11, 2015

Tanpa Woo Ongkir
http://prntscr.com/9cs4od

Dengan Woo Ongkir
http://prntscr.com/9cs5a2

Muncul Field ID dibawah Address.

Selain itu usul, ada opsi menampillkan lokasi toko atau tidak

Note :

Saya menambahkan fungsi berikut untuk mengkustom field halaman checkout

add_filter("woocommerce_checkout_fields", "order_fields");

function order_fields($fields) {

$order = array(
"billing_first_name",
"billing_last_name",
"billing_email",
"billing_phone",
"billing_address_1",

"billing_state",
"billing_city",

"billing_postcode",

);
foreach($order as $field)
{
$ordered_fields[$field] = $fields["billing"][$field];
}

$fields["billing"] = $ordered_fields;
return $fields;

}

Terimakasih

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

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

Message :
0 on December 11, 2015

Web
http://store.kampung-inggris.com/
WC Version: [?] 2.4.11
WP Version: [?] 4.2.5

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

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

Message :
Moderator 0 on December 11, 2015

Halo mas Anima,

Utk form ID, sebenarnya tidak ada di Woo ongkir. Apa mas menggunakan extension Woo commerce yg lain? Kalo iya, coba matikan semua extension Woo Commerce (Kecuali Woo Ongkir). Dan kalau masih penasaran, coba debug jg theme nya (Pakai theme default).

Opsi Multiple Store Location memang fitur Woo Ongkir, itu khusus utk dropshipping/reseller. Mas Anima bisa meng-nonaktifkan multiple store location di halaman admin woo ongkir dengan hanya memilih satu lokasi toko saja.

Sekedar info, merubah core code pada plugin (dalam kasus ini Woo ongkir) bisa membuat broken plugin tsb, kecuali mas Anima paham apa yang mas Anima kerjakan 🙂

Trims

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

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

Message :
0 on December 11, 2015

Hmmm

Ternyata pangkal kekacauan ada di function yang saya copaste tersebut. Ketika mencoba reorder (mengganti urutan billing field), muncul ID.

Ketika saya ubah function menjadi menghilangkan beberapa billing field yang tidak perlu (company, address 2), berjalan normal. Cuma store location masih tetap muncul, meski saya hanya memilih satu lokasi toko

Seperti saran yang ada di thread masukan. Di update ke depan saya menyarankan ada fitur reorder billing field. Karena email dan nomor handphone berada di urutan terakhir adalah aneg.

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

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

Message :
Moderator 0 on December 11, 2015

Halo mas,

Sebenarnya kita (woo ongkir) tidak meng-handle checkout. Jadi seperti re-order billing, pindah form atas-bawah, dll… Kita gak handle itu 🙂

Itu adalah asset wocommerce. Woo ongkir hanya menghandle perhitungan shipping/ongkir (Kota – Provinsi). Tetapi masukan mas Animna akan tetap kita pertimbangkan 🙂

Kalau masalah from select store location, memang sengaja tidak dihilangkan mas. Kecuali memang banyak yg complain/minta form tsb di hilangkan.

Trims

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

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

Message :
0 on December 11, 2015

Oke deh Mas

Terimakasih atas responnya. Mungkin bisa dibikinkan tutorial function.php untuk mengatur urutan billing field ataus shipping field di blog tonjoo. <br />

Mengingat saya ga satu2 nya yang memberi masukan mengenai hal tsb.

Terimakasih banyak

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

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 .