Forums / Templates, Stylesheets, Page Layout / Removing Category name from Product Listing

Removing Category name from Product Listing

Views: 5,303

Results 1 to 16 of 16
25 Apr 2007, 2:39 PM
#1
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Removing Category name from Product Listing

I need to remove the category name from the product listings.

This is how it appears now:

where it says symplastics up there..that's a subcategory of mudflaps. I'm using images as my category titles, so that's why it looks like a button, but I need to remove this category name from that location. Anyone know where to start???

25 Apr 2007, 3:08 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Removing Category name from Product Listing

Try this:
Admin > Configuration > Product Listing > Display Product Name
Set to 0

Mark,

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.

25 Apr 2007, 3:15 PM
#3
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Re: Removing Category name from Product Listing

haredo:

Try this:
Admin > Configuration > Product Listing > Display Product Name
Set to 0

Mark,

That makes all the Product Names disappear. I'm looking to have that Category Name disappear.

I'm fairly certain there is no switch in the admin panel for this, as I've hunted for it for an hour.

25 Apr 2007, 3:43 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Removing Category name from Product Listing

Sorry I misunderstood you.

Try this:
stylesheet.css

Add the following:

#categoryIcon {
display:none;
}

Mark,

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.

25 Apr 2007, 3:52 PM
#5
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Re: Removing Category name from Product Listing

Thanks for the reply, but still no cigar.

I can't believe how elusive this is being..

I even looked up where that style tag is being applied using the Devolopers Tool Kit. I found, what seemed to be, where this was being triggered. I even went as far as erasing that entire <div>. Nothing.

Any other suggestions?

25 Apr 2007, 4:03 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Removing Category name from Product Listing

No need to mess with your core files to fix your delima...
I duplicated your procedure with firefox browser.
Worked perfect!!

includes/ templates/ override template > css > stylesheet.css

Add the following below to the stylesheet.css

#categoryIcon {
display:none
}

Mark,

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.

25 Apr 2007, 4:06 PM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Removing Category name from Product Listing

Sorry just waking up:

h3.itemTitle {
display:none;
}

Mark,

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.

25 Apr 2007, 4:10 PM
#8
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Re: Removing Category name from Product Listing

Yep, you were right, I was just about to post that I found the little bugger. I actually deleted the entire <h1> tag from tpl_index_product_list.php

this was the line I needed to get rid of:

<h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>

I'm going to try your way though, just in case I want to turn it back on, i don't have to hunt it down again..since I'm bound to forget where this was in about 10 seconds.

Thanks for your help !!

25 Apr 2007, 4:11 PM
#9
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Re: Removing Category name from Product Listing

ahh, and yes, you were right.. just added a

display:none;

to my h1 style.

25 Apr 2007, 4:15 PM
#10
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Re: Removing Category name from Product Listing

One more thing I noticed.

When setting the display: none; tag for h1 when the New Products centerbox is displayed upon entering my store it cut off about half of the centerbox header. So I ended up just deleted that line:

<h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>

display's fine now.

25 Apr 2007, 4:43 PM
#11
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Removing Category name from Product Listing

I am glad you are back on right track.
I needed a cup of coffee to wake up.
Your site looks nice.

Just to make you think a little.
Make the add to cart stand out and match the site....

#cartAdd
background-color: #???????;

I would use a light shade of the color you are using for the sidebox headers??

Mark,

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.

25 Apr 2007, 4:52 PM
#12
tcschmit avatar

tcschmit

New Zenner

Join Date:
Apr 2007
Location:
Charlotte, NC
Posts:
24
Plugin Contributions:
0

Re: Removing Category name from Product Listing

Thanks for takin' a look. I didn't realize I had my site listed on here.

At any rate. I appreciate any and all suggestions to make it look nicer. We are fairly limited as this is being rolled out onto touch screen kiosks. Thats why you see those big red buttons (truck drivers need to know what to press, ya know).

30 Apr 2007, 7:53 AM
#13
wasana avatar

wasana

Zen Follower

Join Date:
Apr 2006
Location:
Chiang Mai
Posts:
203
Plugin Contributions:
0

Re: Removing Category name from Product Listing

don't be a hackin' when da' admin'l do ya,eh

Admin>Configuration>Product Info>Previous Next - Navigation Includes Category Position

weird but true

(btw: any changes to .php need to go into override folders...)

16 Nov 2008, 8:44 PM
#14
alicia1234 avatar

alicia1234

Zen Follower

Join Date:
Nov 2008
Location:
Massachusetts
Posts:
164
Plugin Contributions:
0

Re: Removing Category name from Product Listing

Just to clarify: you don't change the h1 tag in the stylesheet as that would affect ALL h1 tags. Rather, you add this line:

h1#productListHeading { display: none; }

:smile:

2 May 2009, 8:52 AM
#15
zarahemna avatar

zarahemna

New Zenner

Join Date:
Apr 2009
Posts:
19
Plugin Contributions:
0

Re: Removing Category name from Product Listing

What about if you want to remove the heading from the category pages too.

In case that's not clear enough. Say you have two main categories A and B each has 5 subcategories 1 through 5 and each of those has 3 sub categories i through iii.

When you are navigating you click on category A and then it shows a page with image buttons and links to categories 1 through 5. That's where I would like to be able to remove the "Category A bit from, leaving only the Category A image at the top.

Anyone?

24 Jan 2011, 4:34 PM
#16
jayzilla avatar

jayzilla

New Zenner

Join Date:
Feb 2009
Posts:
11
Plugin Contributions:
0

Re: Removing Category name from Product Listing

alicia1234:

Just to clarify: you don't change the h1 tag in the stylesheet as that would affect ALL h1 tags. Rather, you add this line:

h1#productListHeading { display: none; }

:smile:

Ahh thank you very much. Finally an answer that worked :)