Dear @arndofiore80, you can follow the guidelines in our GitHub Wiki for creating a new invoice template and include it in your child theme so you can edit it and do whatever suits you.
https://github.com/peprodev/ultimate-invoice/wiki/Add-Customized-External-Template-to-Ultimate-Invoice
[ Signature deleted ]
Hi, I’ve already tried to find a solution myself and insert code. But I wasn’t able to insert something that worked if you can help me write the code, I would be grateful because I can’t get a result on my own.
Hi, have you checked out the plugin documentation section?
https://woocommerce.com/document/order-tags/#section-28
yes I checked but the code I wrote did not work, my skills did not lead to write a code that allows me to obtain the result I want.
add_filter( "puiw_printinvoice_create_html_item_row_metas", "my_custom_lineitems_macros", 10, 5);
function my_custom_lineitems_macros ($macros, $item_id, $item, $product_id, $order){
$product = $item->get_product();
$order_tag = wcot_order_tags_get_order_tags( $order_id );
$macros["order_tag"] = $order_tag;
return $macros;
}
Because of the premium plugin “Order Tags” and your custom request, please open an issue in our GitHub so our technical support and other developer could help you.