Post by lsky49line » Thu Sep 03, 2015 10:11 pm

Please help... I practically have this "there are no products to list in this category" showing in all subcategories ... How to get rid of it ... I really want to get rid of it in the new version of opencart. :(

Newbie

Posts

Joined
Thu Sep 03, 2015 10:05 pm

Post by inactiveaccount9912 » Thu Sep 03, 2015 11:26 pm

In catalog/language/english/product/category.php, the line:

Code: Select all

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

Code: Select all

$_['text_empty']        = '';

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by lsky49line » Wed Sep 09, 2015 10:19 pm

I followed what you mentioned but it is still therein categories & subcategories :(( please help!

Newbie

Posts

Joined
Thu Sep 03, 2015 10:05 pm

Post by robertoliver » Tue Sep 22, 2015 8:44 am

Hi,
Try this:
If you use default theme:
catalog/view/theme/default/template/product/category.tpl

Find and Remove:
<div class="content"><?php echo $text_empty; ?></div>

Robert

----------------------------------------------------------------------------------------------
Buy clove cigarettes with amazing low prices at http://www.balicigarettes.com
Buy a quality unique wood carvings at http://www.baligiftware.com

Newbie

Posts

Joined
Sun Sep 20, 2015 4:30 pm

Post by color20 » Fri Dec 06, 2024 5:14 am

Changing code in catalog/language/english/product/category.php, the line:

$_['text_no_results'] = '';

It works in OC 4.0.2.1

Newbie

Posts

Joined
Thu May 09, 2013 11:10 pm

Post by JNeuhoff » Fri Dec 06, 2024 6:43 pm

The original poster asked this question over nine years ago, for OpenCart 1.5. Rest assured it's long been resolved since then.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: Google [Bot] and 20 guests