Hi @stefanpeeters
It is possible to add the bank details. The easiest solution is with our Premium Templates extension. This will give you access to the customizer and lets you add your payment information with a few clicks with a custom block.
The other solution is with a little custom code:
add_action( 'wpo_wcpdf_after_order_details', 'wpo_wcpdf_add_payment_information', 10, 2 );
function wpo_wcpdf_add_payment_information ($template_type, $order) {
if ($template_type == 'invoice' ) {
echo "<p class='payment-information'>Your Payment information goes here...</p>";
}
}
add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles' );
function wpo_wcpdf_custom_styles () {
?>
.invoice p.payment-information {
text-align:right;
font-weight:bold;
}
<?php
}
Regarding Mollie, what plugin are you using?
Hi,
Thanks for helping me out!
Where do I add that code?
I am using no other payment plugins.
A have added account number to the Direct banc transfer at the Payements tab in the settings of WooCommerce.
Thank you
Hi @stefanpeeters
If you never used actions/ filters please read this documentation.
Hope that helps!
@stefanpeeters
Also adding {{payment_method_instructions}} or {{payment_method_thankyou_page_text}} in the customizer of the Premium Templates extension prints the settings as configured in WooCommerce.
-
This reply was modified 6 years, 3 months ago by
alexmigf.
-
This reply was modified 6 years, 3 months ago by
alexmigf.