Post by f4b10 » Mon Mar 10, 2014 6:25 pm

I use OC 1.5.1.3
How to modify order.php Opencart to be send email only for bank transfer payment, an a third email like "bank transfer@gmail.com"

i've try to add this:

`$email_to = "bank transfer@gmail.com";

if ($order_info['shipping_method'] == "bank_transfer") { $mail->setTo = ($email_to); }`

in // Admin Alert Mail after declaration

$mail = new Mail();

but not function. :'(
help me please, an sorry for my bad english best regards Fabio

Newbie

Posts

Joined
Sun Feb 23, 2014 11:42 pm

Post by jty » Sat Mar 15, 2014 8:52 am

f4b10 wrote:if ($order_info['shipping_method'] == "bank_transfer")
Change shipping_method to payment_method or payment_code and try again ;)

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am
Who is online

Users browsing this forum: No registered users and 14 guests