WooFunnels Documentation
Get unstuck with our helpful reference material

Checkout Pages

How to display Checkout form fields in Invoice template?

If you want to display any Checkout form field on Invoice you need to follow the steps below:

Billing Phone field ID

Step 1: Suppose if we want to display the phone number on the invoice. Click on the "Phone" field and note down the ID of the field.

Edit the phone field

Step 2: To display field label and it's value we will use field ID copied from the previous step and place it in the shortcodes below where it's written "my-checkout-field":

For Field Label: [wfacp_order_custom_field field_id="my-checkout-field" type='label']

For Field Value: [wfacp_order_custom_field field_id="my-checkout-field" type='value']

This would be the final shortcode after editing
Label : [wfacp_order_custom_field field_id="Phone Number" type='label']

Value : [wfacp_order_custom_field field_id="billing_phone" type='value']

Step 3: Now add these shortcodes to the HTML template of your invoice where we need to display the field.

add the shortcodes on the custom HTML field

This is how you can display the Checkout form fields in an Invoice template.

Increase your sales, starting today.

Get WooFunnels Now
chevron-down
[class^="wpforms-"]
[class^="wpforms-"]