Menampilkan Provinsi di preview order
Updated on February 19, 2022 in Plugin Ongkos Kirim
Premium  2 on February 14, 2022

Saya pakai kode dibawah untuk mengubah format alamat tapi provinsinya tidak muncul. Apakah ada yang salah?

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{pok_district}\n{pok_city}\n{pok_state}\n{postcode}";

return $formats;
}

https://prnt.sc/26vfumk

  • 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 February 18, 2022

Halo, maaf baru bisa menanggapi.

Apakah sebelumnya (sebelum menggunakan hook custom) provinsi dapat muncul?

  • 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 :
Premium  0 on February 19, 2022

Tidak muncul juga.

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