Custom fields in template
-
Hello, I am currently trying to configure the custom template to include a specific field in the ‘invoice’ (editing invoice.php)
I am using a plugin called ”WooCommerce Checkout Manager” , in which I have made multiple custom fields – the one I would like to include in the invoice is with an ID ”tr-billing_wooccm14”
I have tried using the code snippet which I found in a discussion :
<H3>My custom field:</H3> <?php the_field('tr-billing_wooccm14', $this->order->get_id() ); ?>
But it provided no results.
Is it even possible to include such a field from a different plugin in the invoice template?
Thanks in advance!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Custom fields in template’ is closed to new replies.