Hi, i have a similar situation, i want to add the "$orders_status" in the order confirmation.
i already did this in ...themes/default-bootstrap/mails/es/order_conf.html, but in the email confirmation the client receive is not working, it just shows the code.
The mailalert module by dafeault have in the var list the variable i´m trying to use:
'{order_status}' => $order_state->name,
Im trying to do this because the payment system even if the payment wasnt sucessful sends anyway the order confirmation, so we need to check in that send email the current order status without to enter the PS order dashboard.
for example: Order Status: Waiting for payment, or Payment Sucessful etc.
I really appreciate any advice to solve this