Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Hide "There are no products to list in this category"

Hide "There are no products to list in this category"

Locked

Started by docrocks on 28 Apr 2008, 8:50 PM · Views: 2,538

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
28 Apr 2008, 8:50 PM
#1
docrocks avatar

docrocks

Zen Follower

Join Date:
Jun 2005
Location:
Massachusetts
Posts:
148
Plugin Contributions:
0

Post #1 by docrocks

Is there a way to hide this message that appears for empty categories?

Thanks

DocRocks
My goal is to consume the Web, one byte at a time.

28 Apr 2008, 8:58 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,925
Plugin Contributions:
25

Post #2 by dbltoe

In the admin under categories, click on the green dot for the category with no products. It will turn red. When you have products, click on it again to turn it green.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

28 Apr 2008, 11:28 PM
#3
docrocks avatar

docrocks

Zen Follower

Join Date:
Jun 2005
Location:
Massachusetts
Posts:
148
Plugin Contributions:
0

Post #3 by docrocks

dbltoe:

In the admin under categories, click on the green dot for the category with no products. It will turn red. When you have products, click on it again to turn it green.

I believe this completely removes the category from the menu list. What I would like to do is just remove the message when no products are present in the category. I have other data that appears in the category listing in place of the products - see this example for the Accessories category -- http://prestonribbons.com/catalog/index.php?main_page=index&cPath=2
As you can see the message is a the bottom of this page because I have stuck a table with various products that don't fit the layout of the Ribbon Catalog which is the main part of the site.

I do realize this is not exactly what the ZC developers have in mind for a database driven shopping cart, but this is the fastest/simplest way for me to add these products after having modified the product listing page to disallow additional description in another part of the cart eg the Ribbon Catalog.

I'm open to other ideas.

Thanks

DocRocks
My goal is to consume the Web, one byte at a time.

29 Apr 2008, 9:57 PM
#4
docrocks avatar

docrocks

Zen Follower

Join Date:
Jun 2005
Location:
Massachusetts
Posts:
148
Plugin Contributions:
0

Post #4 by docrocks

FYI - Found the text in includes/languages/english/index.php and killed it.

DocRocks
My goal is to consume the Web, one byte at a time.

29 Apr 2008, 10:19 PM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,925
Plugin Contributions:
25

Post #5 by dbltoe

If you don't save it in your wallet theme override it will disappear on upgrade.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

30 Apr 2008, 1:13 PM
#6
docrocks avatar

docrocks

Zen Follower

Join Date:
Jun 2005
Location:
Massachusetts
Posts:
148
Plugin Contributions:
0

Post #6 by docrocks

Done and thanks for the reminder.

DocRocks
My goal is to consume the Web, one byte at a time.