Custom fields in custom template not displayed
-
Hi
I’ve copied the template as described in the documentation to a custom directory:
/www/wp-content/themes/yolo-begreen/woocommerce/pdf/yourtemplate/invoice.phpNow I’ve added this line after
<?php $this->billing_address(); ?>
<?php $this->custom_field('billing_wcj_checkout_field_1'); ?>
to display the Vat number.However, when I re-generate the PDF (via the orders screen in Woocommerce), the field isn’t displayed.
When I just enter XXXXX in the template (no PHP tags), the changes aren’t displayed either.It will be definitely something stupid, but what I’m doing wrong? ??
Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom fields in custom template not displayed’ is closed to new replies.