OpenCart 3. 'Your shopping cart is empty!' in empty categories - solved

If you have an empty category in your OpenCart 3.0.x.x. installation, and see a text "Your shopping cart is empty!" instead of "There are no products to list in this category." it is easy to treat.

The reason is duplication of the language variable here:

catalog\language\en-gb\checkout\cart.php

$_['text_empty'] = 'Your shopping cart is empty!';

and at the same time there:

catalog\language\en-gb\product\category.php

$_['text_empty'] = 'There are no products to list in this category.';

To solve that problem,

Goto: catalog/controller/product/category.php and add after the line 12 the following:

$data['text_empty'] = $this->language->get('text_empty');

Thats it.

OpenCart 3. very light "sticky menu" script