This could either be done with OCMod or as an event.
OCMod e.g: In catalog/controller/account/order.php file,
find:
Code: Select all
$data['date_added'] = date($this->language->get('date_format_short'), strtotime($order_info['date_added']));
add below:
Code: Select all
$this->load->model('localisation/order_status');
$order_status = $this->model_localisation_order_status->getOrderStatus($order_info['order_status_id']);
$data['order_status'] = html_entity_decode($order_status['name'], ENT_QUOTES, 'UTF-8');
In your catalog/view/theme/default/template/account/order.twig file,
find:
Code: Select all
<b>{{ text_date_added }}</b> {{ date_added }}</td>
replace with:
Code: Select all
<b>{{ text_date_added }}</b> {{ date_added }}
<br>
<b>{{ text_order_status }}</b> {{ order_status }}</td>
Then, in your catalog/language/<your_language>/account/order.php file,
add at the bottom of the file:
Code: Select all
$_['text_order_status'] = 'Order Status:';
Then, clear your OC cache:
viewtopic.php?f=134&t=215776#p718325 .
This should resolved the issue.