• Resolved pinus81

    (@pinus81)


    Hello,
    Hi, I need to add an asterisk next to the label “Total” in the pdf. In the “invoice.php” file there is not the text “Total” but ‘label’. how can I do?

    Thank you for your time

    [url=https://postimg.org/image/ktiarg9it/][img]https://s18.postimg.org/ktiarg9it/Asterisco_in_fattura.png[/img][/url]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor kluver

    (@kluver)

    Hi @pinus81,

    If you would like to customize the data on your documents I would recommend purchasing our Premium Templates extension. This gives you access to the customizer that lets you add all kinds of order data and lets you edit their labels.

    With kind regards,

    Michael

    Thread Starter pinus81

    (@pinus81)

    Hi,

    I use a custom template and I have modified other fields of the pdf, because I can not modify the total label through function.php file?
    At least it is possible not to show the notes field of the checkout fields?

    Thanks for your help.

    https://postimg.org/image/lsqon9ekl/

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! If you have a custom template you can simply remove the customer notes there, it’s this bit:

    
    <div class="customer-notes">
    	<?php do_action( 'wpo_wcpdf_before_customer_notes', $this->type, $this->order ); ?>
    	<?php if ( $this->get_shipping_notes() ) : ?>
    		<h3><?php _e( 'Customer Notes', 'woocommerce-pdf-invoices-packing-slips' ); ?></h3>
    		<?php $this->shipping_notes(); ?>
    	<?php endif; ?>
    	<?php do_action( 'wpo_wcpdf_after_customer_notes', $this->type, $this->order ); ?>
    </div>
    

    You can filter the totals (array) with the wpo_wcpdf_woocommerce_totals filter if you want to change the labels with your own functions.

    Hope that helps!
    Ewout

    Thread Starter pinus81

    (@pinus81)

    Thanks, I managed to delete the notes. I tried to add a filter to wpo_wcpdf_woocommerce_totals but I’m no expert and I can not to change the labels.

    thank you anyway.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add “*” in Total label into PDF’ is closed to new replies.