Hello,
I am using joomla! 3.9.13 +VirtueMart 3.6.2 10159
When I update the order status to shipped, il would like that the email sent to the shopper to only includes the mail_html_header and mail_html_shopper.
Because, I only wants to send a message with tracking number that I will put in comments. I don't need to send again the order items details.
Does anyone has any idea of how it could be done?
Thanks!
in mail_html use an if statement to inlc/exclu the different templates
if($this->orderDetails['details']['BT']->order_status_name == 'whatever' ){
//do something
}
check what is in $this->orderDetails['details']['BT'] these days -- the status might be there C, P, etc
print 'Debug Line '.__LINE__.' orderDetails <pre>'; print_r ($this->orderDetails['details']['BT']); print "</pre><br />\n";
Thanks!
I got it to work. For info I used order_status i/o order_status_name and I created a new template.
;D