Edit checkout Field
Updated on February 13, 2019 in Woo Ongkir
Premium  1 on February 12, 2019

Bagaimana mengedit checkout field, saya ingin menghilangkan country, company dan email. Saya mencoba menggunakan WooCommerce Checkout Field Editor tapi sepertinya tidak bisa.

thanks

  • Liked by
By using the forum you are agree with tonjoo studio license agreement
Moderator 0 on February 13, 2019

Halo herri.azh,
coba tambahkan kode ini ke dalam functions.php di theme Anda.

add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’, 40 );
function custom_override_checkout_fields( $fields ) {
unset($fields[‘billing’][‘billing_company’]);
unset($fields[‘billing’][‘billing_country’]);
unset($fields[‘billing’][‘billing_email’]);
return $fields;
}

Jika ongkir tidak jalan maka coba untuk billing country tetap ditampilkan.

Semoga membantu.

Salam

  • Liked by
Cancel
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 .