Custom field name
-
Hi there, Uli.
I’m trying to display a PGSK billing custom field (vat number) on a pdf invoice genereated through other plugin (PDF Invoice and Packaging Slips.)
Apparently, is as simple as adding
<?php $wpo_wcpdf->custom_field(‘custom_fieldname’, ‘Vat:’, true); ?>
to the pdf template.How do I know for sure the custom field name? I’ve tried with the one on the “field name” column (billing_nif_prueba) like this
<?php $wpo_wcpdf->custom_field(‘billing_nif_prueba’, ‘Vat:’, true); ?>
and it does not work (neither does ‘nif_prueba’ or ‘custom_billing_nif_prueba’).Am I doing somethign wrong?
Thanks and kind regards,
Pablo.
https://wordpress.org/plugins/woocommerce-poor-guys-swiss-knife/
The topic ‘Custom field name’ is closed to new replies.