Custom filed added
-
Hi!
I had read a lot of post about it but i lack php knowledge.
Could you, awesome support please help me with adding “Numer NIP:” Text to my invoice?
I did manage to get custom field printed on invoice, but it just display the value, and not the text before it that I would like (“Numer NIP:” which you could translate to “company tax number”).I had put this code into invoice.php in custom template:
<?php echo implode(', ', (array) $this->order->get_meta('_billing_numer_nip_') ); ?>
This is what I added to function.php:
Function.php code
And this is how it looks like on the invoice (it is this number “7441666507” on the left):
InvoiceLove your plugin and will rate it 10 out of 5
- The topic ‘Custom filed added’ is closed to new replies.