Format Alamat
Updated on March 21, 2020 in Plugin Ongkos Kirim
2 on March 20, 2020

Saya coba ubah format alamat penagihan tapi kenapa di bagian kecamatan tidak muncul dan kota/kabupaten jadi angka.

add_filter( ‘woocommerce_localisation_address_formats’, ‘woocommerce_custom_address_format’, 20 );
function woocommerce_custom_address_format( $formats ) {
$formats[ ‘ID’ ] = "{name_upper}\n{address_1}\n{district}\n{city}\n{state}\n{postcode}";

return $formats;
}

https://prnt.sc/rjf22r

Mohon bantuannya terimakasih

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

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

Moderator 0 on March 20, 2020

Halo,
Coba gunakan placeholder berikut ini untuk mengganti alamat
{pok_district} untuk kecamatan
{pok_city} untuk kabupaten
{pok_state} untuk provinsi

Salam,
Tonjoostudio support

  • 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 March 21, 2020

Oke sip berhasil. Makasih banyak mas.

  • 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 .