Post by Qphoria » Fri Sep 11, 2009 1:40 am

The confirm function in catalog/model/checkout/order.php forces an email to be sent. Would be better to add the option to NOT send the email so that customized emails can be controlled by the payment system. There is currently no good way now to prevent the confirmation step from sending out an email without copying it to your local file and referencing that one. Would be easier if we could add a 'false' at the end.

Change:
public function confirm($order_id, $order_status_id, $comment = '') {

to:
public function confirm($order_id, $order_status_id, $comment = '', notify = true) {

and add a conditional around the email call

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by javarog » Sun Sep 13, 2009 6:48 am

I have to agree with this one, would be nice.

Newbie

Posts

Joined
Mon May 18, 2009 6:45 am
Who is online

Users browsing this forum: No registered users and 14 guests