Display some info only when specific payment method is chosen
-
Hello!
I’d like to send some additional info when Direct Bank Transfer payment method is selected. I already have the customer-on-hold-order.php in my child theme.
I added the code below, but I’d only like it to be actually sent to the customer ONLY when they choose direct bank transfer payment method.
<p><?php echo ("?e ste za na?in pla?ila uporabili neposredno ban?no transakcijo, lahko podatke za pla?ilo vidite spodaj."); ?></p> <p><?php esc_html_e( 'Za referenco (sklic) uporabite: SI 00 ' . $order->get_order_number() , 'woocommerce' ); ?></p>
What would be the best approach to this?
Kind regards
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Display some info only when specific payment method is chosen’ is closed to new replies.