Post by lxanth » 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 327 times


Lefteris


User avatar
Newbie

Posts

Joined
Tue Mar 27, 2018 12:22 am


Post by xxvirusxx » Tue Aug 21, 2018 2:37 am


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Who is online

Users browsing this forum: No registered users and 4 guests