Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

Adding a third-party field to invoice

$
0
0

Replies: 0

I seek a smarter brain!

I am trying to add an extra data field to my invoice from a third-party plugin (WooCommerce Checkout Field Editor) to my customised php file. Just can’t work it out.

The class is additional_courier. Tried the following to no avail.

<?php if ( isset($wpo_wcpdf->settings->template_settings[‘invoice_additional_courier’]) ) { ?>
<div class=”additional-courier”><?php $wpo_wcpdf->additional_courier(); ?></div>
<?php } ?>

Any advice would be awesome.


Viewing all articles
Browse latest Browse all 67836

Trending Articles