• Hi, in the simple template, in the “Total” section of the PDF, I’d like to include a text: (TAX included). I didn’t seem to find any option in the plugin that will allow me to do that, and I tried finding the ES file in the languages folder inside the plugin at wp content, but didn’t find the ES file to edit that text from there. Am I missing something? Is there any way to edit that “Total” text?

    Here is the image of the text I want to edit: https://imgur.com/Erq0hVO

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Contributor dwpriv

    (@dwpriv)

    You can use the wpo_wcpdf_woocommerce_totals filter edit the label. Here’s an example use case

    //Edit total label in totals section
    add_filter( 'wpo_wcpdf_woocommerce_totals', function( $totals, $order, $document_type ) {
    	$totals['order_total']['label'] = 'Your label';
    	return $totals;
    }, 10, 3);
Viewing 1 replies (of 1 total)
  • The topic ‘Translation to Spanish’ is closed to new replies.