Haremheb
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Thanks again. resolved
Hi,
I found mistake in my text editor there was bad encoding (i saw it correct, but it export like ascii).
Otherwise i use you invoice_number.
Thanks very much for support i will rate you 🙂
I tried this, but it prints only invoice number not text
Hi,
thanks for answer, i am using this code in the template-functions
add_action( 'wpo_wcpdf_after_order_details', 'wpo_wcpdf_custom_text', 10, 2 ); function wpo_wcpdf_custom_text ($template_type, $order) { if ($template_type == 'invoice' && $order->payment_method == 'bacs') { $string = "Děkujeme za Váš nákup. Prosíme zaplaťte objednávku na náš bankovní účet: 9999999999/2010 u FIO banky. Variabilní symbol platby je:"; $string = htmlspecialchars($string); global $wpo_wcpdf; $invoice_number = $wpo_wcpdf->get_invoice_number(); echo $invoice_number; } }where i may to print $string correctly?
Thank you very much
Martin
Viewing 4 replies - 1 through 4 (of 4 total)