Joomla! 3.8.3 Stable
VirtueMart 3.2.12
Hi Everyone
I changed the design of the email that is sent to the customer if he orders sth. Somehow i totally forgot that these changes affect every email that the System is sending, like the email of the package is been shipped.
Im wondering how i can make a seperate design and text just for the update message of a shipped package. Does anyone know how to do this?
THanks for any advice
You have to check for order statut and change display depending this value.
I dont think that this will work because i changed the email completely with a static text. So id like to make a complete stand alone email that is being sent when change the status to shipped...
if($this->orderDetails['details']['BT']->order_status == 'S') {
//yourcode here for shipped
} else {//yourcode here for all other cases
}
If you changed or not the original file, $this->orderDetails['details']['BT']->order_status is set and can be tested