Hi all,
just an update to make it works with VM3.8.6
in /administrator/components/com_virtuemart/models/orders.php line 229
// Get the order details
$q = "SELECT o.*, o.created_on as order_created, o.modified_on as order_modified, u.*, s.order_status_name
changed to
// Get the order details
$q = "SELECT o.*, o.created_on as order_created, o.modified_on as order_modified, u.*, s.order_status_name, s.order_status_description
now in /components/com_virtuemart/views/invoice/tmpl/mail_html_shopper.php
Between line 75 and 76 just added
<?php if(!empty($this->orderDetails['details']['BT']->order_status_description)){ ?>
<tr>
<td colspan="3" align="left" style="border: 1px solid #CCCCCC;">
<?php echo nl2br(html_entity_decode($this->orderDetails['details']['BT']->order_status_description)); ?>
</td>
</tr>
<?php } ?>