Thread Starter
clarru
(@clarru)
In addition to what I wrote above, I just need to swap the “Total tax” field to Woocommerce’s Tax Name
What shows in the final order screen on website:

While on the printed invoice it displays:

I can see that on Help Guide there are Filters to alter different things but not the Total Tax, could you help me out with this specific field?
Thank you.
Thread Starter
clarru
(@clarru)
I’ve done more digging and found this filter in your plugin code, and I tried altering this total tax label like this, but it still displays total tax on the invoice, instead of MwSt, how I wrote it.
add_filter('wf_pklist_alter_taxitem_label', 'wt_pklist_alter_taxitem_label', 10, 4);function wt_pklist_alter_taxitem_label($tax_label, $template_type, $order, $tax_item)
{
// Retrieve the tax rate
$tax_rate = $tax_item->get_rate_percent();
// Format the tax information
$formatted_tax_info = sprintf('MwSt %s%%', $tax_rate);
return $formatted_tax_info;
}
Thread Starter
clarru
(@clarru)
NEVERMIND!!
My bad, who would’ve guessed that Tax Item, is eventually the Tax Zone……………… Bad UX

