Hi Paulo,
I think it’s better if you contact WooThemes for support: I do not know how these values are stored, and without access to the database I can’t tell how you should retrieve these values. WooThemes and/or the developers of this Product add-ons
If you want to dig in yourself, you could access the database, and look in the wp_postmeta table and see if you can find out which meta_key is used for these fields. This meta_key is what you need to fill in where you used ‘Pet Owner’. (assuming you already tried ‘Marital Status’ there!).
One last check to make sure we’re on the same line: if you are fine with the way the fields are currently displayed in the invoice, but you just want them separate from the product listing, you will need to loop through the items again to print them, something like this:
<?php
$items = $wpo_wcpdf->get_order_items();
if( sizeof( $items ) > 0 ) {
foreach( $items as $item ) {
echo $item['meta'];
}
}
?>
Additionally, you could then remove this piece from the packing slip and invoice template:
<span class="item-meta"><?php echo $item['meta']; ?></span>
Let me know if you find a solution!
Kind regards,
Ewout Fernhout