Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor David G

    (@gravid7)

    Hi @inventis

    You can display the order shipping phone number using the wcj_order_customer_meta shortcode by replacing the meta-key-name with the correct meta key.

    Please try the following shortcode:

    [wcj_order_customer_meta key=”_shipping_phone”]

    This will output the shipping phone number associated with the order.

    If you’d like to display the billing phone instead, you can use:

    [wcj_order_customer_meta key=”_billing_phone”]

    Thread Starter inventis

    (@inventis)

    Hi – I tried [wcj_order_customer_meta key=”_shipping_phone”] but it just gives an empty value on the packing slip, the value exists on the order

    Plugin Contributor David G

    (@gravid7)

    Hi @inventis

    Thanks for your reply.

    Can you please share a screenshot showing where exactly the shipping phone number is stored in the order meta (from the order edit page or custom fields)? That will help confirm the correct meta key.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘shortcode shipping phone’ is closed to new replies.