• chandrawaliltd

    (@chandrawaliltd)


    Hello,

    I have the invoice for one article for an event and I need to add lines of details of this sub total for example … in this 685€ of place, it’s include 300 euros accommodation, 200 euros meals and x euros Stripe fees.

    Do you know how to do it please ?

    Thank you for your help.

    Mc

Viewing 1 replies (of 1 total)
  • Ahmed Imran

    (@ahmedimran)

    Hello,

    We understand your requirements. To add any text to the invoice, you can use the following code snippet with this hook “woo_invoice_after_customer_notes” in your theme’s functions.php or use a custom code snippet plugin:

    add_action('woo_invoice_after_customer_notes', 'woo_invoice_after_customer_notes_callback', 10, 2);

    function woo_invoice_after_customer_notes_callback($order, $template_type){
    echo '<br>'."Add your custom text here";
    }

    Please feel free to adjust the code or reach out to me if you have any more questions or customization needs.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.