Sending Invoices in status Shipped instead of Confirmed

Phoca Email (Newsletter) - sending emails and managing newsletters in Joomla! CMS
Rochabian
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 20 Feb 2014, 23:02

Sending Invoices in status Shipped instead of Confirmed

Post by Rochabian » 20 Feb 2014, 23:04

Hello

I've installed Virtuemart email plugin and it works great, invoices are send by mail

I was just wondering if it is possible to send mail when the order is in "shipped" status instead of "confirmed" status

I've tried to modify ps_order.php like this :

// When the order is set to "confirmed", we can capture
// the Payment with authorize.net
if( $curr_order_status=="C" && $d["order_status"]=="S") {

so from status confirmed to shipped instead of

// When the order is set to "confirmed", we can capture
// the Payment with authorize.net
if( $curr_order_status=="P" && $d["order_status"]=="C") {

default is from pending to confirmed


This doesn't seems to work! Invoices are send in "confirmed" status whenever i modify this line (line 69) in ps_order.php

Should i have others modifications to do somewhere else?

Thanks again