Page 1 of 1

Incorrectly displaying messages in catalog account pages

Posted: Tue Aug 21, 2018 1:05 am
by reactivem
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.

Re: Incorrectly displaying messages in catalog account pages

Posted: Tue Aug 21, 2018 2:37 am
by xxvirusxx