Post by reactivem » Tue Aug 21, 2018 1:05 am

This applies to almost all catalog routes such as:
  • account/order
  • account/download
  • account/reward
  • account/return
etc

The heading_title and text_empty message is not displayed as expected from the language file (see attached picture for account/return)

To fix this I modified the controller for each route at the public function index() under the language loading instruction as such:

Code: Select all

$this->load->language('account/return'); // Added the following lines fixes the problem
$data['text_empty'] = $this->language->get('text_empty');
$data['heading_title'] = $this->language->get('heading_title');
I am not very familiar with OC3 architecture and do not know if this is the proper way to do it, or if this is a normal behavior.

Attachments

screenshot.png

screenshot.png (13.69 KiB) Viewed 563 times


Lefteris
--
Check out my free module CoreAdmin for Opencart


User avatar
Newbie

Posts

Joined
Tue Mar 27, 2018 12:22 am

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 189 guests