fbpx

Home Forums Booster Plus Customer Forum how to change text in billing state show in invoice

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #53927
    oosin
    Participant

    i see Developers Modifying Cell Output
    but how can i use to [wcj_order_checkout_field field_id="billing_state"]

    #53929
    David G
    Participant

    Hi @oosin,

    Thank you for reaching out to us.

    Yes, your shortcode is correct for displaying the billing state: [wcj_order_checkout_field field_id="billing_state"].

    #53930
    oosin
    Participant

    My billing_state in the actual order data is listed as “TAOYUAN CITY.” However, I need it to be converted to the local equivalent, such as “桃園市,” through $states = WC()->countries->get_states(‘TW’);. Could you advise on how to write this code for the invoice?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.