billing_title in pdf
-
hi!
i want to get some fields from the billing_adress, so i include this code on invoice.php
<?php echo get_post_meta($wpo_wcpdf->export->order->id,’_billing_title’,true); ?>
<?php echo get_post_meta($wpo_wcpdf->export->order->id,’_billing_first_name’,true); ?>
<?php echo get_post_meta($wpo_wcpdf->export->order->id,’_billing_last_name’,true); ?>the field “billing_title” is a dropdown field. i only get the id instead of the name
—-> 1 instead of “Sir”
—-> 2 instead of “Mam”is there a way to change this?
Thanks for helphttps://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘billing_title in pdf’ is closed to new replies.