Go to "admin/controller/sale/order.php" and look for the "invoice" function. In that function, you should see the following line of code:
Code: Select all
$data['orders'][] = array(
Code: Select all
'order_status' => $order_info['order_status']
Code: Select all
{{order.order_status}}
Check out our ever-growing list of extensions for OpenCart here.
Some useful extensions for a better admin experience: Image File Manager Pro • Drag & Drop Sort Order
Reach out to us at hello@softmonke.com for your OpenCart web development needs or feedback for our extensions.
What is not working?
Did you added the code as advised?
If all is done correct, the status will be displayed (IF there is s status already and NOT 0)
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Please read this: https://www.antropy.co.uk/blog/how-to-r ... right-way/
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Of course I added code and order status is Complete.
And I tried that, {% if order.order_status %}{{ order.order_status }}{% endif %}
but that doesn't work either. Order status is not displayed on the invoice print